;;; Segment seg00001000 (00001000)
00001000 7F 45 4C 46 01 02 01 00 00 00 00 00 00 00 00 00 .ELF............
00001010 00 02 18 AD 00 00 00 01 00 00 26 9C 00 00 00 34 ..........&....4
00001020 00 00 00 00 00 00 00 03 00 34 00 20 00 07 00 00 .........4. ....
00001030 00 00 00 00 00 00 00 06 00 00 00 34 00 00 10 34 ...........4...4
00001040 00 00 10 34 00 00 00 E0 00 00 00 E0 00 00 00 05 ...4............
00001050 00 00 00 04 00 00 00 03 00 00 01 14 00 00 11 14 ................
00001060 00 00 11 14 00 00 00 14 00 00 00 14 00 00 00 04 ................
00001070 00 00 00 01 00 00 00 01 00 00 00 00 00 00 10 00 ................
00001080 00 00 10 00 00 01 2A 88 00 01 2A 88 00 00 00 05 ......*...*.....
00001090 00 00 04 00 00 00 00 01 00 01 2A 88 00 01 4A 88 ..........*...J.
000010A0 00 01 4A 88 00 00 0B 94 00 00 0F A4 00 00 00 06 ..J.............
000010B0 00 00 04 00 00 00 00 02 00 01 2F 50 00 01 4F 50 ........../P..OP
000010C0 00 01 4F 50 00 00 00 A0 00 00 00 A0 00 00 00 06 ..OP............
000010D0 00 00 00 04 00 00 00 04 00 00 01 30 00 00 11 30 ...........0...0
000010E0 00 00 11 30 00 00 00 20 00 00 00 20 00 00 00 04 ...0... ... ....
000010F0 00 00 00 10 64 74 E5 51 00 00 00 00 00 00 00 00 ....dt.Q........
00001100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 07 ................
00001110 00 00 00 04 2F 6C 69 62 2F 6C 64 2D 75 43 6C 69 ..../lib/ld-uCli
00001120 62 63 2E 73 6F 2E 30 00 00 00 00 00 00 00 00 00 bc.so.0.........
00001130 00 00 00 04 00 00 00 10 00 00 00 01 47 4E 55 00 ............GNU.
00001140 00 00 00 00 00 00 00 02 00 00 00 06 00 00 00 00 ................
00001150 00 00 00 61 00 00 00 7F 00 00 00 1B 00 00 00 00 ...a............
00001160 00 00 00 50 00 00 00 40 00 00 00 00 00 00 00 3D ...P...@.......=
00001170 00 00 00 00 00 00 00 57 00 00 00 00 00 00 00 6C .......W.......l
00001180 00 00 00 00 00 00 00 5F 00 00 00 69 00 00 00 00 ......._...i....
00001190 00 00 00 2D 00 00 00 00 00 00 00 00 00 00 00 70 ...-...........p
000011A0 00 00 00 73 00 00 00 5D 00 00 00 7D 00 00 00 00 ...s...]...}....
000011B0 00 00 00 3E 00 00 00 15 00 00 00 00 00 00 00 00 ...>............
000011C0 00 00 00 00 00 00 00 65 00 00 00 62 00 00 00 01 .......e...b....
000011D0 00 00 00 66 00 00 00 42 00 00 00 53 00 00 00 58 ...f...B...S...X
000011E0 00 00 00 00 00 00 00 71 00 00 00 2E 00 00 00 36 .......q.......6
000011F0 00 00 00 56 00 00 00 6B 00 00 00 00 00 00 00 3C ...V...k.......<
00001200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001210 00 00 00 76 00 00 00 07 00 00 00 00 00 00 00 6E ...v...........n
00001220 00 00 00 47 00 00 00 74 00 00 00 21 00 00 00 00 ...G...t...!....
00001230 00 00 00 00 00 00 00 00 00 00 00 33 00 00 00 5C ...........3...\
00001240 00 00 00 2C 00 00 00 00 00 00 00 6A 00 00 00 41 ...,.......j...A
00001250 00 00 00 7B 00 00 00 75 00 00 00 7C 00 00 00 23 ...{...u...|...#
00001260 00 00 00 4A 00 00 00 67 00 00 00 7A 00 00 00 00 ...J...g...z....
00001270 00 00 00 5B 00 00 00 44 00 00 00 72 00 00 00 00 ...[...D...r....
00001280 00 00 00 60 00 00 00 00 00 00 00 6D 00 00 00 59 ...`.......m...Y
00001290 00 00 00 5E 00 00 00 79 00 00 00 00 00 00 00 0C ...^...y........
000012A0 00 00 00 27 00 00 00 00 00 00 00 6F 00 00 00 00 ...'.......o....
000012B0 00 00 00 7E 00 00 00 38 00 00 00 08 00 00 00 4B ...~...8.......K
000012C0 00 00 00 3B 00 00 00 00 00 00 00 00 00 00 00 00 ...;............
000012D0 00 00 00 51 00 00 00 77 00 00 00 68 00 00 00 00 ...Q...w...h....
000012E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
00001310 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 ................
00001320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
00001340 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 03 ................
00001350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17 ................
00001360 00 00 00 1C 00 00 00 16 00 00 00 00 00 00 00 00 ................
00001370 00 00 00 00 00 00 00 09 00 00 00 26 00 00 00 13 ...........&....
00001380 00 00 00 00 00 00 00 00 00 00 00 0D 00 00 00 1E ................
00001390 00 00 00 00 00 00 00 00 00 00 00 1A 00 00 00 00 ................
000013A0 00 00 00 00 00 00 00 1D 00 00 00 2A 00 00 00 00 ...........*....
000013B0 00 00 00 00 00 00 00 0F 00 00 00 00 00 00 00 00 ................
000013C0 00 00 00 00 00 00 00 00 00 00 00 0E 00 00 00 00 ................
000013D0 00 00 00 37 00 00 00 00 00 00 00 00 00 00 00 00 ...7............
000013E0 00 00 00 00 00 00 00 00 00 00 00 39 00 00 00 04 ...........9....
000013F0 00 00 00 35 00 00 00 20 00 00 00 10 00 00 00 24 ...5... .......$
00001400 00 00 00 1F 00 00 00 00 00 00 00 02 00 00 00 43 ...............C
00001410 00 00 00 49 00 00 00 25 00 00 00 00 00 00 00 00 ...I...%........
00001420 00 00 00 2B 00 00 00 31 00 00 00 00 00 00 00 00 ...+...1........
00001430 00 00 00 32 00 00 00 45 00 00 00 4E 00 00 00 4D ...2...E...N...M
00001440 00 00 00 34 00 00 00 18 00 00 00 00 00 00 00 4C ...4...........L
00001450 00 00 00 55 00 00 00 48 00 00 00 28 00 00 00 00 ...U...H...(....
00001460 00 00 00 19 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001470 00 00 00 5A 00 00 00 00 00 00 00 11 00 00 00 0A ...Z............
00001480 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 00 ...........0....
00001490 00 00 00 4F 00 00 00 3A 00 00 00 64 00 00 00 29 ...O...:...d...)
000014A0 00 00 00 52 00 00 00 00 00 00 00 61 00 00 00 14 ...R.......a....
000014B0 00 00 00 0B 00 00 00 46 00 00 00 2F 00 00 00 12 .......F.../....
000014C0 00 00 00 54 00 00 00 00 00 00 00 22 00 00 00 3F ...T......."...?
000014D0 00 00 00 63 00 00 00 78 00 00 00 00 00 00 00 00 ...c...x........
000014E0 00 00 00 00 00 00 00 00 00 00 00 0B 00 00 00 00 ................
000014F0 00 00 00 00 12 00 00 00 00 00 00 19 00 00 00 00 ................
00001500 00 00 00 00 12 00 00 00 00 00 00 20 00 01 02 08 ........... ....
00001510 00 00 02 E2 12 00 00 08 00 00 00 29 00 00 00 00 ...........)....
00001520 00 00 00 00 12 00 00 00 00 00 01 E3 00 00 00 00 ................
00001530 00 00 00 00 12 00 00 00 00 00 03 A6 00 00 00 00 ................
00001540 00 00 00 00 11 00 00 00 00 00 00 2F 00 00 00 00 .........../....
00001550 00 00 00 00 12 00 00 00 00 00 00 36 00 00 F9 76 ...........6...v
00001560 00 00 00 00 12 00 00 08 00 00 00 49 00 00 00 00 ...........I....
00001570 00 00 00 00 12 00 00 00 00 00 00 55 00 00 00 00 ...........U....
00001580 00 00 00 00 12 00 00 00 00 00 01 86 00 00 00 00 ................
00001590 00 00 00 00 12 00 00 00 00 00 00 5D 00 00 00 00 ...........]....
000015A0 00 00 00 00 12 00 00 00 00 00 00 65 00 00 00 00 ...........e....
000015B0 00 00 00 00 12 00 00 00 00 00 00 71 00 00 00 00 ...........q....
000015C0 00 00 00 00 12 00 00 00 00 00 00 7C 00 00 00 00 ...........|....
000015D0 00 00 00 00 12 00 00 00 00 00 00 85 00 00 00 00 ................
000015E0 00 00 00 00 12 00 00 00 00 00 00 8E 00 01 04 EA ................
000015F0 00 00 02 D6 12 00 00 08 00 00 00 9D 00 00 00 00 ................
00001600 00 00 00 00 11 00 00 00 00 00 00 A7 00 00 00 00 ................
00001610 00 00 00 00 12 00 00 00 00 00 00 AE 00 00 00 00 ................
00001620 00 00 00 00 12 00 00 00 00 00 00 B5 00 00 00 00 ................
00001630 00 00 00 00 12 00 00 00 00 00 00 BE 00 01 02 08 ................
00001640 00 00 02 E2 12 00 00 08 00 00 00 CD 00 00 00 00 ................
00001650 00 00 00 00 12 00 00 00 00 00 00 D6 00 00 00 00 ................
00001660 00 00 00 00 12 00 00 00 00 00 00 DD 00 00 F2 D0 ................
00001670 00 00 00 00 12 00 00 08 00 00 00 ED 00 00 00 00 ................
00001680 00 00 00 00 12 00 00 00 00 00 00 F4 00 00 FA 54 ...............T
00001690 00 00 00 00 12 00 00 08 00 00 01 04 00 00 00 00 ................
000016A0 00 00 00 00 12 00 00 00 00 00 01 0D 00 00 00 00 ................
000016B0 00 00 00 00 12 00 00 00 00 00 01 15 00 00 00 00 ................
000016C0 00 00 00 00 12 00 00 00 00 00 01 1C 00 00 00 00 ................
000016D0 00 00 00 00 12 00 00 00 00 00 01 23 00 00 00 00 ...........#....
000016E0 00 00 00 00 11 00 00 00 00 00 01 2A 00 00 00 00 ...........*....
000016F0 00 00 00 00 12 00 00 00 00 00 01 30 00 00 00 00 ...........0....
00001700 00 00 00 00 12 00 00 00 00 00 01 3A 00 00 00 00 ...........:....
00001710 00 00 00 00 12 00 00 00 00 00 01 42 00 00 00 00 ...........B....
00001720 00 00 00 00 12 00 00 00 00 00 00 CE 00 00 00 00 ................
00001730 00 00 00 00 12 00 00 00 00 00 01 54 00 00 00 00 ...........T....
00001740 00 00 00 00 11 00 00 00 00 00 01 64 00 00 00 00 ...........d....
00001750 00 00 00 00 12 00 00 00 00 00 01 6E 00 00 00 00 ...........n....
00001760 00 00 00 00 12 00 00 00 00 00 01 7F 00 00 00 00 ................
00001770 00 00 00 00 12 00 00 00 00 00 01 85 00 00 00 00 ................
00001780 00 00 00 00 12 00 00 00 00 00 01 8D 00 00 F9 1C ................
00001790 00 00 00 00 12 00 00 08 00 00 01 A0 00 00 00 00 ................
000017A0 00 00 00 00 12 00 00 00 00 00 01 A9 00 00 00 00 ................
000017B0 00 00 00 00 12 00 00 00 00 00 01 B1 00 00 00 00 ................
000017C0 00 00 00 00 12 00 00 00 00 00 01 C0 00 00 00 00 ................
000017D0 00 00 00 00 12 00 00 00 00 00 01 C7 00 00 F7 64 ...............d
000017E0 00 00 00 00 12 00 00 08 00 00 01 DA 00 00 00 00 ................
000017F0 00 00 00 00 12 00 00 00 00 00 01 E2 00 00 00 00 ................
00001800 00 00 00 00 12 00 00 00 00 00 01 EA 00 00 00 00 ................
00001810 00 00 00 00 12 00 00 00 00 00 01 F9 00 00 F7 60 ...............`
00001820 00 00 00 00 12 00 00 08 00 00 02 0C 00 00 00 00 ................
00001830 00 00 00 00 12 00 00 00 00 00 02 13 00 00 00 00 ................
00001840 00 00 00 00 12 00 00 00 00 00 02 26 00 00 00 00 ...........&....
00001850 00 00 00 00 12 00 00 00 00 00 02 32 00 00 00 00 ...........2....
00001860 00 00 00 00 11 00 00 00 00 00 01 DB 00 00 00 00 ................
00001870 00 00 00 00 12 00 00 00 00 00 04 B1 00 00 26 9C ..............&.
00001880 00 00 00 38 12 00 00 08 00 00 02 39 00 00 00 00 ...8.......9....
00001890 00 00 00 00 12 00 00 00 00 00 02 40 00 00 00 00 ...........@....
000018A0 00 00 00 00 12 00 00 00 00 00 02 46 00 00 F8 02 ...........F....
000018B0 00 00 00 00 12 00 00 08 00 00 02 59 00 00 00 00 ...........Y....
000018C0 00 00 00 00 12 00 00 00 00 00 02 62 00 00 00 00 ...........b....
000018D0 00 00 00 00 12 00 00 00 00 00 02 6A 00 00 00 00 ...........j....
000018E0 00 00 00 00 12 00 00 00 00 00 02 72 00 00 00 00 ...........r....
000018F0 00 00 00 00 12 00 00 00 00 00 02 7A 00 00 00 00 ...........z....
00001900 00 00 00 00 12 00 00 00 00 00 02 82 00 00 00 00 ................
00001910 00 00 00 00 12 00 00 00 00 00 02 8A 00 00 00 00 ................
00001920 00 00 00 00 12 00 00 00 00 00 02 94 00 00 00 00 ................
00001930 00 00 00 00 12 00 00 00 00 00 04 99 00 00 10 00 ................
00001940 00 00 00 00 10 00 FF F1 00 00 02 9B 00 00 00 00 ................
00001950 00 00 00 00 12 00 00 00 00 00 02 A3 00 00 00 00 ................
00001960 00 00 00 00 12 00 00 00 00 00 02 AD 00 00 00 00 ................
00001970 00 00 00 00 12 00 00 00 00 00 02 BB 00 00 00 00 ................
00001980 00 00 00 00 12 00 00 00 00 00 04 AC 00 01 56 1C ..............V.
00001990 00 00 00 00 10 00 FF F1 00 00 02 C8 00 00 00 00 ................
000019A0 00 00 00 00 12 00 00 00 00 00 02 D2 00 00 00 00 ................
000019B0 00 00 00 00 12 00 00 00 00 00 02 D9 00 00 00 00 ................
000019C0 00 00 00 00 12 00 00 00 00 00 02 5B 00 00 00 00 ...........[....
000019D0 00 00 00 00 12 00 00 00 00 00 02 E3 00 00 00 00 ................
000019E0 00 00 00 00 12 00 00 00 00 00 02 EA 00 00 00 00 ................
000019F0 00 00 00 00 12 00 00 00 00 00 02 F2 00 00 F4 B4 ................
00001A00 00 00 00 00 12 00 00 08 00 00 03 02 00 00 00 00 ................
00001A10 00 00 00 00 12 00 00 00 00 00 03 09 00 00 00 00 ................
00001A20 00 00 00 00 12 00 00 00 00 00 03 12 00 00 00 00 ................
00001A30 00 00 00 00 12 00 00 00 00 00 03 1B 00 00 00 00 ................
00001A40 00 00 00 00 12 00 00 00 00 00 03 23 00 00 00 00 ...........#....
00001A50 00 00 00 00 12 00 00 00 00 00 03 2A 00 00 00 00 ...........*....
00001A60 00 00 00 00 12 00 00 00 00 00 03 34 00 00 F6 50 ...........4...P
00001A70 00 00 00 00 12 00 00 08 00 00 03 44 00 00 00 00 ...........D....
00001A80 00 00 00 00 11 00 00 00 00 00 03 4B 00 00 00 00 ...........K....
00001A90 00 00 00 00 12 00 00 00 00 00 03 51 00 00 00 00 ...........Q....
00001AA0 00 00 00 00 12 00 00 00 00 00 03 5D 00 00 00 00 ...........]....
00001AB0 00 00 00 00 12 00 00 00 00 00 03 69 00 00 00 00 ...........i....
00001AC0 00 00 00 00 12 00 00 00 00 00 03 79 00 00 00 00 ...........y....
00001AD0 00 00 00 00 12 00 00 00 00 00 03 82 00 00 00 00 ................
00001AE0 00 00 00 00 12 00 00 00 00 00 03 8D 00 00 00 00 ................
00001AF0 00 00 00 00 12 00 00 00 00 00 03 9D 00 00 00 00 ................
00001B00 00 00 00 00 12 00 00 00 00 00 04 A5 00 01 56 1C ..............V.
00001B10 00 00 00 00 10 00 FF F1 00 00 03 A4 00 00 00 00 ................
00001B20 00 00 00 00 11 00 00 00 00 00 04 B8 00 01 5A 2C ..............Z,
00001B30 00 00 00 00 10 00 FF F1 00 00 03 AD 00 00 00 00 ................
00001B40 00 00 00 00 12 00 00 00 00 00 03 B7 00 00 F7 FA ................
00001B50 00 00 00 00 12 00 00 08 00 00 03 CA 00 00 00 00 ................
00001B60 00 00 00 00 12 00 00 00 00 00 04 12 00 00 00 00 ................
00001B70 00 00 00 00 12 00 00 00 00 00 03 DB 00 00 00 00 ................
00001B80 00 00 00 00 12 00 00 00 00 00 03 E4 00 00 00 00 ................
00001B90 00 00 00 00 12 00 00 00 00 00 03 ED 00 00 F8 EC ................
00001BA0 00 00 00 00 12 00 00 08 00 00 04 00 00 01 04 EA ................
00001BB0 00 00 02 D6 12 00 00 08 00 00 04 09 00 00 00 00 ................
00001BC0 00 00 00 00 12 00 00 00 00 00 04 11 00 00 00 00 ................
00001BD0 00 00 00 00 12 00 00 00 00 00 04 17 00 00 00 00 ................
00001BE0 00 00 00 00 12 00 00 00 00 00 04 1E 00 00 00 00 ................
00001BF0 00 00 00 00 12 00 00 00 00 00 04 25 00 00 00 00 ...........%....
00001C00 00 00 00 00 12 00 00 00 00 00 04 2C 00 00 00 00 ...........,....
00001C10 00 00 00 00 12 00 00 00 00 00 04 35 00 00 00 00 ...........5....
00001C20 00 00 00 00 12 00 00 00 00 00 04 3C 00 00 00 00 ...........<....
00001C30 00 00 00 00 12 00 00 00 00 00 04 42 00 00 00 00 ...........B....
00001C40 00 00 00 00 12 00 00 00 00 00 04 4B 00 00 00 00 ...........K....
00001C50 00 00 00 00 12 00 00 00 00 00 04 51 00 00 00 00 ...........Q....
00001C60 00 00 00 00 11 00 00 00 00 00 04 61 00 00 00 00 ...........a....
00001C70 00 00 00 00 12 00 00 00 00 00 04 67 00 00 00 00 ...........g....
00001C80 00 00 00 00 12 00 00 00 00 00 04 6C 00 00 00 00 ...........l....
00001C90 00 00 00 00 12 00 00 00 00 00 04 78 00 00 00 00 ...........x....
00001CA0 00 00 00 00 12 00 00 00 00 00 04 89 00 00 00 00 ................
00001CB0 00 00 00 00 12 00 00 00 00 00 04 91 00 00 00 00 ................
00001CC0 00 00 00 00 12 00 00 00 00 6C 69 62 63 2E 73 6F .........libc.so
00001CD0 2E 30 00 63 6C 6F 63 6B 5F 67 65 74 74 69 6D 65 .0.clock_gettime
00001CE0 00 73 74 72 63 70 79 00 5F 5F 64 69 76 64 69 33 .strcpy.__divdi3
00001CF0 00 69 6F 63 74 6C 00 75 6E 67 65 74 63 00 5F 5F .ioctl.ungetc.__
00001D00 61 76 72 33 32 5F 66 36 34 5F 63 6D 70 5F 6C 74 avr32_f64_cmp_lt
00001D10 00 73 69 67 65 6D 70 74 79 73 65 74 00 73 74 72 .sigemptyset.str
00001D20 6E 64 75 70 00 6D 65 6D 6D 6F 76 65 00 67 65 74 ndup.memmove.get
00001D30 6F 70 74 5F 6C 6F 6E 67 00 5F 5F 66 70 65 6E 64 opt_long.__fpend
00001D40 69 6E 67 00 73 6E 70 72 69 6E 74 66 00 67 65 74 ing.snprintf.get
00001D50 67 72 67 69 64 00 5F 5F 61 76 72 33 32 5F 73 6D grgid.__avr32_sm
00001D60 6F 64 36 34 00 5F 5F 63 74 79 70 65 5F 62 00 67 od64.__ctype_b.g
00001D70 65 74 65 6E 76 00 77 63 73 6C 65 6E 00 69 73 77 etenv.wcslen.isw
00001D80 63 6E 74 72 6C 00 5F 5F 61 76 72 33 32 5F 73 64 cntrl.__avr32_sd
00001D90 69 76 36 34 00 77 6D 65 6D 70 63 70 79 00 66 73 iv64.wmempcpy.fs
00001DA0 63 61 6E 66 00 5F 5F 61 76 72 33 32 5F 66 36 34 canf.__avr32_f64
00001DB0 5F 6D 75 6C 00 6D 65 6D 63 70 79 00 5F 5F 61 76 _mul.memcpy.__av
00001DC0 72 33 32 5F 66 36 34 5F 64 69 76 00 72 65 61 64 r32_f64_div.read
00001DD0 6C 69 6E 6B 00 6D 62 72 74 6F 77 63 00 6D 61 6C link.mbrtowc.mal
00001DE0 6C 6F 63 00 69 73 61 74 74 79 00 6F 70 74 61 72 loc.isatty.optar
00001DF0 67 00 62 74 6F 77 63 00 73 74 72 74 6F 75 6D 61 g.btowc.strtouma
00001E00 78 00 73 74 72 74 6F 75 6C 00 5F 6F 62 73 74 61 x.strtoul._obsta
00001E10 63 6B 5F 6E 65 77 63 68 75 6E 6B 00 5F 5F 63 74 ck_newchunk.__ct
00001E20 79 70 65 5F 74 6F 75 70 70 65 72 00 73 69 67 61 ype_toupper.siga
00001E30 64 64 73 65 74 00 5F 5F 66 67 65 74 63 5F 75 6E ddset.__fgetc_un
00001E40 6C 6F 63 6B 65 64 00 61 62 6F 72 74 00 66 73 74 locked.abort.fst
00001E50 61 74 36 34 00 5F 5F 61 76 72 33 32 5F 66 36 34 at64.__avr32_f64
00001E60 5F 63 6D 70 5F 67 65 00 69 73 77 70 72 69 6E 74 _cmp_ge.iswprint
00001E70 00 73 74 72 72 63 68 72 00 5F 6F 62 73 74 61 63 .strrchr._obstac
00001E80 6B 5F 62 65 67 69 6E 00 63 61 6C 6C 6F 63 00 5F k_begin.calloc._
00001E90 5F 61 76 72 33 32 5F 66 36 34 5F 74 6F 5F 73 33 _avr32_f64_to_s3
00001EA0 32 00 77 6D 65 6D 63 68 72 00 66 70 72 69 6E 74 2.wmemchr.fprint
00001EB0 66 00 66 70 75 74 73 5F 75 6E 6C 6F 63 6B 65 64 f.fputs_unlocked
00001EC0 00 5F 5F 61 76 72 33 32 5F 66 36 34 5F 74 6F 5F .__avr32_f64_to_
00001ED0 75 33 32 00 73 74 72 63 61 74 00 5F 73 74 64 6C u32.strcat._stdl
00001EE0 69 62 5F 6D 62 5F 63 75 72 5F 6D 61 78 00 6E 6C ib_mb_cur_max.nl
00001EF0 5F 6C 61 6E 67 69 6E 66 6F 00 6F 70 74 69 6E 64 _langinfo.optind
00001F00 00 73 69 67 6E 61 6C 00 64 69 72 66 64 00 5F 5F .signal.dirfd.__
00001F10 61 76 72 33 32 5F 73 33 32 5F 74 6F 5F 66 36 34 avr32_s32_to_f64
00001F20 00 69 73 77 63 74 79 70 65 00 73 74 72 63 6F 6C .iswctype.strcol
00001F30 6C 00 73 74 72 6E 63 6D 70 00 73 74 72 6E 63 70 l.strncmp.strncp
00001F40 79 00 77 63 77 69 64 74 68 00 72 65 61 6C 6C 6F y.wcwidth.reallo
00001F50 63 00 72 65 61 64 64 69 72 36 34 00 6D 65 6D 63 c.readdir64.memc
00001F60 6D 70 00 6C 73 74 61 74 36 34 00 73 69 67 61 63 mp.lstat64.sigac
00001F70 74 69 6F 6E 00 5F 5F 75 43 6C 69 62 63 5F 6D 61 tion.__uClibc_ma
00001F80 69 6E 00 67 65 74 74 69 6D 65 6F 66 64 61 79 00 in.gettimeofday.
00001F90 6C 6F 63 61 6C 74 69 6D 65 00 6D 65 6D 73 65 74 localtime.memset
00001FA0 00 6D 62 73 72 74 6F 77 63 73 00 66 63 6C 6F 73 .mbsrtowcs.fclos
00001FB0 65 00 6F 70 65 6E 64 69 72 00 5F 5F 61 76 72 33 e.opendir.__avr3
00001FC0 32 5F 66 36 34 5F 73 75 62 00 73 74 72 63 6D 70 2_f64_sub.strcmp
00001FD0 00 67 65 74 70 77 75 69 64 00 67 65 74 70 77 6E .getpwuid.getpwn
00001FE0 61 6D 00 73 70 72 69 6E 74 66 00 61 74 65 78 69 am.sprintf.atexi
00001FF0 74 00 73 65 74 6C 6F 63 61 6C 65 00 5F 5F 61 76 t.setlocale.__av
00002000 72 33 32 5F 66 36 34 5F 61 64 64 00 73 74 64 65 r32_f64_add.stde
00002010 72 72 00 65 72 72 6F 72 00 73 69 67 69 73 6D 65 rr.error.sigisme
00002020 6D 62 65 72 00 6C 6F 63 61 6C 74 69 6D 65 5F 72 mber.localtime_r
00002030 00 66 66 6C 75 73 68 5F 75 6E 6C 6F 63 6B 65 64 .fflush_unlocked
00002040 00 73 74 72 66 74 69 6D 65 00 6C 6F 63 61 6C 65 .strftime.locale
00002050 63 6F 6E 76 00 66 77 72 69 74 65 5F 75 6E 6C 6F conv.fwrite_unlo
00002060 63 6B 65 64 00 66 77 72 69 74 65 00 5F 5F 73 74 cked.fwrite.__st
00002070 64 6F 75 74 00 74 63 67 65 74 70 67 72 70 00 5F dout.tcgetpgrp._
00002080 5F 61 76 72 33 32 5F 75 33 32 5F 74 6F 5F 66 36 _avr32_u32_to_f6
00002090 34 00 5F 5F 65 72 72 6E 6F 5F 6C 6F 63 61 74 69 4.__errno_locati
000020A0 6F 6E 00 74 6F 77 6C 6F 77 65 72 00 67 65 74 67 on.towlower.getg
000020B0 72 6E 61 6D 00 5F 5F 61 76 72 33 32 5F 66 36 34 rnam.__avr32_f64
000020C0 5F 63 6D 70 5F 65 71 00 5F 5F 6D 6F 64 64 69 33 _cmp_eq.__moddi3
000020D0 00 5F 73 65 74 6A 6D 70 00 5F 65 78 69 74 00 77 ._setjmp._exit.w
000020E0 63 73 63 61 74 00 67 6D 74 69 6D 65 00 73 74 72 cscat.gmtime.str
000020F0 6C 65 6E 00 5F 5F 61 73 73 65 72 74 00 73 74 72 len.__assert.str
00002100 63 68 72 00 66 70 75 74 73 00 63 6C 6F 73 65 64 chr.fputs.closed
00002110 69 72 00 74 7A 73 65 74 00 5F 5F 63 74 79 70 65 ir.tzset.__ctype
00002120 5F 74 6F 6C 6F 77 65 72 00 72 61 69 73 65 00 66 _tolower.raise.f
00002130 72 65 65 00 73 69 67 70 72 6F 63 6D 61 73 6B 00 ree.sigprocmask.
00002140 5F 5F 66 70 75 74 63 5F 75 6E 6C 6F 63 6B 65 64 __fputc_unlocked
00002150 00 6D 62 73 69 6E 69 74 00 66 6F 70 65 6E 36 34 .mbsinit.fopen64
00002160 00 5F 73 74 61 63 6B 5F 73 69 7A 65 00 5F 65 64 ._stack_size._ed
00002170 61 74 61 00 5F 5F 62 73 73 5F 73 74 61 72 74 00 ata.__bss_start.
00002180 5F 65 6E 64 00 00 00 00 00 01 4F FC 00 00 7A 29 _end......O...z)
00002190 00 00 00 00 00 01 50 00 00 00 72 29 00 00 00 00 ......P...r)....
000021A0 00 01 50 04 00 00 33 29 00 00 00 00 00 01 50 08 ..P...3)......P.
000021B0 00 00 53 29 00 00 00 00 00 01 50 0C 00 00 68 29 ..S)......P...h)
000021C0 00 00 00 00 00 01 50 10 00 00 1E 29 00 00 00 00 ......P....)....
000021D0 00 01 50 14 00 00 1A 29 00 00 00 00 00 01 50 18 ..P....)......P.
000021E0 00 00 06 29 00 00 00 00 00 01 50 1C 00 00 4D 29 ...)......P...M)
000021F0 00 00 00 00 00 01 50 24 00 00 7C 29 00 00 00 00 ......P$..|)....
00002200 00 01 50 28 00 00 13 29 00 00 00 00 00 01 50 2C ..P(...)......P,
00002210 00 00 73 29 00 00 00 00 00 01 50 30 00 00 64 29 ..s)......P0..d)
00002220 00 00 00 00 00 01 50 34 00 00 5B 29 00 00 00 00 ......P4..[)....
00002230 00 01 50 3C 00 00 29 29 00 00 00 00 00 01 50 40 ..P<..))......P@
00002240 00 00 43 29 00 00 00 00 00 01 50 44 00 00 20 29 ..C)......PD.. )
00002250 00 00 00 00 00 01 50 48 00 00 05 29 00 00 00 00 ......PH...)....
00002260 00 01 50 50 00 00 78 29 00 00 00 00 00 01 50 54 ..PP..x)......PT
00002270 00 00 56 29 00 00 00 00 00 01 50 58 00 00 32 29 ..V)......PX..2)
00002280 00 00 00 00 00 01 50 64 00 00 6A 29 00 00 00 00 ......Pd..j)....
00002290 00 01 50 68 00 00 74 29 00 00 00 00 00 01 50 6C ..Ph..t)......Pl
000022A0 00 00 40 29 00 00 00 00 00 01 50 70 00 00 02 29 ..@)......Pp...)
000022B0 00 00 00 00 00 01 50 80 00 00 7D 29 00 00 00 00 ......P...})....
000022C0 00 01 50 84 00 00 5A 29 00 00 00 00 00 01 50 88 ..P...Z)......P.
000022D0 00 00 24 29 00 00 00 00 00 01 50 8C 00 00 12 29 ..$)......P....)
000022E0 00 00 00 00 00 01 50 98 00 00 45 29 00 00 00 00 ......P...E)....
000022F0 00 01 50 9C 00 00 36 29 00 00 00 00 00 01 50 AC ..P...6)......P.
00002300 00 00 4E 29 00 00 00 00 00 01 50 B4 00 00 2D 29 ..N)......P...-)
00002310 00 00 00 00 00 01 50 B8 00 00 25 29 00 00 00 00 ......P...%)....
00002320 00 01 50 BC 00 00 0F 29 00 00 00 00 00 01 50 C0 ..P....)......P.
00002330 00 00 0B 29 00 00 00 00 00 01 50 D4 00 00 79 29 ...)......P...y)
00002340 00 00 00 00 00 01 50 D8 00 00 76 29 00 00 00 00 ......P...v)....
00002350 00 01 50 E0 00 00 2E 29 00 00 00 00 00 01 50 E4 ..P....)......P.
00002360 00 00 1F 29 00 00 00 00 00 01 50 E8 00 00 1D 29 ...)......P....)
00002370 00 00 00 00 00 01 51 00 00 00 7B 29 00 00 00 00 ......Q...{)....
00002380 00 01 51 04 00 00 69 29 00 00 00 00 00 01 51 08 ..Q...i)......Q.
00002390 00 00 61 29 00 00 00 00 00 01 51 0C 00 00 5E 29 ..a)......Q...^)
000023A0 00 00 00 00 00 01 51 10 00 00 5C 29 00 00 00 00 ......Q...\)....
000023B0 00 01 51 14 00 00 58 29 00 00 00 00 00 01 51 18 ..Q...X)......Q.
000023C0 00 00 50 29 00 00 00 00 00 01 51 1C 00 00 4F 29 ..P)......Q...O)
000023D0 00 00 00 00 00 01 51 20 00 00 48 29 00 00 00 00 ......Q ..H)....
000023E0 00 01 51 24 00 00 3E 29 00 00 00 00 00 01 51 28 ..Q$..>)......Q(
000023F0 00 00 3B 29 00 00 00 00 00 01 51 2C 00 00 39 29 ..;)......Q,..9)
00002400 00 00 00 00 00 01 51 30 00 00 37 29 00 00 00 00 ......Q0..7)....
00002410 00 01 51 34 00 00 31 29 00 00 00 00 00 01 51 3C ..Q4..1)......Q<
00002420 00 00 28 29 00 00 00 00 00 01 51 44 00 00 17 29 ..()......QD...)
00002430 00 00 00 00 00 01 51 78 00 00 7E 29 00 00 00 00 ......Qx..~)....
00002440 00 01 51 7C 00 00 77 29 00 00 00 00 00 01 51 84 ..Q|..w)......Q.
00002450 00 00 75 29 00 00 00 00 00 01 51 88 00 00 71 29 ..u)......Q...q)
00002460 00 00 00 00 00 01 51 8C 00 00 70 29 00 00 00 00 ......Q...p)....
00002470 00 01 51 90 00 00 6F 29 00 00 00 00 00 01 51 94 ..Q...o)......Q.
00002480 00 00 6E 29 00 00 00 00 00 01 51 98 00 00 6B 29 ..n)......Q...k)
00002490 00 00 00 00 00 01 51 9C 00 00 66 29 00 00 00 00 ......Q...f)....
000024A0 00 01 51 A0 00 00 62 29 00 00 00 00 00 01 51 A4 ..Q...b)......Q.
000024B0 00 00 60 29 00 00 00 00 00 01 51 A8 00 00 5F 29 ..`)......Q..._)
000024C0 00 00 00 00 00 01 51 AC 00 00 5D 29 00 00 00 00 ......Q...])....
000024D0 00 01 51 B4 00 00 57 29 00 00 00 00 00 01 51 BC ..Q...W)......Q.
000024E0 00 00 55 29 00 00 00 00 00 01 51 C0 00 00 54 29 ..U)......Q...T)
000024F0 00 00 00 00 00 01 51 C4 00 00 51 29 00 00 00 00 ......Q...Q)....
00002500 00 01 51 C8 00 00 4C 29 00 00 00 00 00 01 51 CC ..Q...L)......Q.
00002510 00 00 4A 29 00 00 00 00 00 01 51 D0 00 00 49 29 ..J)......Q...I)
00002520 00 00 00 00 00 01 51 D4 00 00 47 29 00 00 00 00 ......Q...G)....
00002530 00 01 51 D8 00 00 44 29 00 00 00 00 00 01 51 DC ..Q...D)......Q.
00002540 00 00 42 29 00 00 00 00 00 01 51 E0 00 00 41 29 ..B)......Q...A)
00002550 00 00 00 00 00 01 51 E4 00 00 3F 29 00 00 00 00 ......Q...?)....
00002560 00 01 51 E8 00 00 3C 29 00 00 00 00 00 01 51 EC ..Q...<)......Q.
00002570 00 00 38 29 00 00 00 00 00 01 51 F0 00 00 35 29 ..8)......Q...5)
00002580 00 00 00 00 00 01 51 F4 00 00 2F 29 00 00 00 00 ......Q.../)....
00002590 00 01 51 F8 00 00 2C 29 00 00 00 00 00 01 51 FC ..Q...,)......Q.
000025A0 00 00 2A 29 00 00 00 00 00 01 52 00 00 00 27 29 ..*)......R...')
000025B0 00 00 00 00 00 01 52 04 00 00 26 29 00 00 00 00 ......R...&)....
000025C0 00 01 52 08 00 00 23 29 00 00 00 00 00 01 52 0C ..R...#)......R.
000025D0 00 00 22 29 00 00 00 00 00 01 52 10 00 00 21 29 ..")......R...!)
000025E0 00 00 00 00 00 01 52 14 00 00 1C 29 00 00 00 00 ......R....)....
000025F0 00 01 52 18 00 00 18 29 00 00 00 00 00 01 52 1C ..R....)......R.
00002600 00 00 15 29 00 00 00 00 00 01 52 20 00 00 14 29 ...)......R ...)
00002610 00 00 00 00 00 01 52 24 00 00 10 29 00 00 00 00 ......R$...)....
00002620 00 01 52 28 00 00 0E 29 00 00 00 00 00 01 52 2C ..R(...)......R,
00002630 00 00 0D 29 00 00 00 00 00 01 52 30 00 00 0C 29 ...)......R0...)
00002640 00 00 00 00 00 01 52 34 00 00 0A 29 00 00 00 00 ......R4...)....
00002650 00 01 52 38 00 00 09 29 00 00 00 00 00 01 52 3C ..R8...)......R<
00002660 00 00 07 29 00 00 00 00 00 01 52 40 00 00 04 29 ...)......R@...)
00002670 00 00 00 00 00 01 52 44 00 00 01 29 00 00 00 00 ......RD...)....
00002680 EB CD 40 40 48 26 1E 26 C0 48 D7 03 FF FE D6 96 ..@@H&.&.H......
00002690 C3 4C E0 A0 73 BF E3 CD 80 40 00 00             .L..s....@..   

;; _start: 0000269C
_start proc
	mov	r7,00000000
	mov	lr,00000000
	ld.w	r11,sp++
	mov	r10,sp
	st.w	--sp,r10
	st.w	--sp,r12
	lddpc	r6,pc[20]
	rsub	r6,pc
	sub	r9,pc,0000002C
	ld.w	r8,r6[456]
	sub	r12,pc,FFFFD140
	mcall	r6[480]
	ld.sbvc	lr,pc[186]

;; fn000026C0: 000026C0
;;   Called from:
;;     000026BC (in _start)
;;     000026BC (in _start)
fn000026C0 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[52]
	rsub	r6,pc
	ld.w	r8,r6[388]
	ld.ub	r9,r8[0]
	mov	r8,00000000
	cp.b	r9,r8
	breq	000026DA

l000026D4:
	popm	r4-r7,pc

l000026D6:
	st.w	r10[0],r9
	icall	r8

l000026DA:
	ld.w	r10,r6[1308]
	ld.w	r8,r10[0]
	sub	r9,r8,FFFFFFFC
	ld.w	r8,r8[0]
	cp.w	r8,00000000
	brne	000026D6

l000026EA:
	ld.w	r8,r6[388]
	mov	r9,00000001
	st.b	r8[0],r9
	popm	r4-r7,pc
000026F4             FF FE D6 D4                             ....       

;; fn000026F8: 000026F8
fn000026F8 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[28]
	rsub	r6,pc
	ld.w	r12,r6[1312]
	ld.w	r8,r12[0]
	cp.w	r8,00000000
	breq	00002712

l00002708:
	ld.w	r8,r6[400]
	cp.w	r8,00000000
	breq	00002712

l00002710:
	icall	r8

l00002712:
	popm	r4-r7,pc
00002714             FF FE D7 0C                             ....       

;; fn00002718: 00002718
;;   Called from:
;;     00003830 (in fn00003334)
;;     00004E64 (in fn00004968)
fn00002718 proc
	lsr	r10,+00000008
	mov	r8,r11
	or	r10,r10,r11<<24
	andl	r8,F000
	bfextu	r12,r10,+00000000,+0000000C
	or	r12,r8,r12
	ret	r12

;; fn0000272E: 0000272E
;;   Called from:
;;     0000384E (in fn00003334)
;;     00004E4C (in fn00004968)
fn0000272E proc
	lsr	r8,r10,0000000C
	or	r8,r8,r11<<20
	andl	r8,FF00
	bfextu	r12,r10,+00000000,+00000008
	or	r12,r8,r12
	ret	r12

;; fn00002744: 00002744
;;   Called from:
;;     00002814 (in fn000027FC)
;;     0000283C (in fn00002824)
;;     00002864 (in fn0000284C)
;;     00004F10 (in fn00004968)
;;     00004F3A (in fn00004968)
;;     00004F50 (in fn00004968)
fn00002744 proc
	pushm	lr
	mov	lr,r11
	cp.w	lr,r9
	brge	0000274E

l0000274C:
	popm	pc,r12=-1

l0000274E:
	sub	r8,r10,r8
	cp.w	lr,r9
	movle	r12,r8

l00002758:
	movgt	r12,00000001

l0000275C:
	popm	pc
0000275E                                           D4 21               .!
00002760 48 66 1E 26 16 99 F8 EA 00 00 12 98 30 09 E0 A0 Hf.&........0...
00002770 71 6F 14 9C D8 22 D7 03 FF FE D7 72 D4 01 16 9E qo...".....r....
00002780 FC E8 00 00 F8 EA 00 00 10 3A F2 0B 13 00 C0 20 .........:..... 
00002790 D8 0A F8 EA 00 08 FC E8 00 08 10 3A F2 0B 13 00 ...........:....
000027A0 5F 0C D8 02 D4 21 48 56 1E 26 6C 29 72 08 58 08 _....!HV.&l)r.X.
000027B0 C0 21 93 0C D8 22 D7 03 FF FE D7 B8 D4 21 48 66 .!...".......!Hf
000027C0 1E 26 6C 29 72 08 58 08 C0 41 72 18 2F F8 93 18 .&l)r.X..Ar./...
000027D0 D8 22 D7 03 FF FE D7 D0                         ."......       

;; fn000027D8: 000027D8
;;   Called from:
;;     0000318C (in fn00003168)
fn000027D8 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[32]
	rsub	r6,pc
	ld.w	r9,r6[8]
	cp.w	r12,00000000
	breq	000027EA

l000027E4:
	mov	r8,00000002
	st.w	r9[8],r8
	popm	r4-r7,pc

l000027EA:
	ld.w	r8,r9[8]
	cp.w	r8,00000000
	brne	000027F4

l000027F0:
	mov	r8,00000001
	st.w	r9[8],r8

l000027F4:
	popm	r4-r7,pc
000027F6                   D7 03 FF FE D7 EC                   ......   

;; fn000027FC: 000027FC
fn000027FC proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[36]
	rsub	r6,pc
	ld.w	r2,r11[-36]
	ld.w	r3,r11[-40]
	ld.w	r8,r12[-36]
	ld.w	r9,r12[-40]
	mov	r7,r11
	mov	r4,r10
	mov	r11,r3
	mov	r10,r2
	mov	r5,r12
	rcall	00002744
	brne	0000281E

l00002818:
	ld.w	r11,r7[0]
	ld.w	r12,r5[0]
	icall	r4

l0000281E:
	popm	r0-r3,r4-r7,pc
00002820 FF FE D8 10                                     ....           

;; fn00002824: 00002824
fn00002824 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[36]
	rsub	r6,pc
	ld.w	r2,r11[-44]
	ld.w	r3,r11[-48]
	ld.w	r8,r12[-44]
	ld.w	r9,r12[-48]
	mov	r7,r11
	mov	r4,r10
	mov	r11,r3
	mov	r10,r2
	mov	r5,r12
	rcall	00002744
	brne	00002846

l00002840:
	ld.w	r11,r7[0]
	ld.w	r12,r5[0]
	icall	r4

l00002846:
	popm	r0-r3,r4-r7,pc
00002848                         FF FE D8 38                     ...8   

;; fn0000284C: 0000284C
fn0000284C proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[36]
	rsub	r6,pc
	ld.w	r2,r11[-52]
	ld.w	r3,r11[-56]
	ld.w	r8,r12[-52]
	ld.w	r9,r12[-56]
	mov	r7,r11
	mov	r4,r10
	mov	r11,r3
	mov	r10,r2
	mov	r5,r12
	rcall	00002744
	brne	0000286E

l00002868:
	ld.w	r11,r7[0]
	ld.w	r12,r5[0]
	icall	r4

l0000286E:
	popm	r0-r3,r4-r7,pc
00002870 FF FE D8 60                                     ...`           

;; fn00002874: 00002874
fn00002874 proc
	pushm	r4-r7,lr
	ld.d	r5:r4,r11[52]
	mov	lr,r12
	ld.d	r9:r8,r12[52]
	cp.w	r4,r8
	cpc	r5,r9
	brge	0000288A

l00002888:
	popm	r4-r7,pc,r12=-1

l0000288A:
	cp.w	r4,r8
	cpc	r5,r9
	srgt	r12
	cp.w	r12,00000000
	brne	0000289C

l00002896:
	ld.w	r11,r11[0]
	ld.w	r12,lr[0]
	icall	r10

l0000289C:
	popm	r4-r7,pc

;; fn0000289E: 0000289E
fn0000289E proc
	pushm	lr
	ld.w	r11,r11[0]
	ld.w	r12,r12[0]
	icall	r10
	popm	pc
000028A8                         D4 21 48 46 1E 26 FE CA         .!HF.&..
000028B0 EE C2 CA 5F D8 22 D7 03 FF FE D8 BC D4 21 48 36 ..._.".......!H6
000028C0 1E 26 6C 6A C9 CF D8 22 FF FE D8 D0 D4 21 48 56 .&lj...".....!HV
000028D0 1E 26 16 98 FE CA EE E8 18 9B 10 9C C9 0F D8 22 .&............."
000028E0 FF FE D8 E0 D4 21 48 56 1E 26 16 98 6C 6A 18 9B .....!HV.&..lj..
000028F0 10 9C C8 5F D8 22 D7 03 FF FE D8 F8 D4 21 48 46 ..._.".......!HF
00002900 1E 26 FE CA EF 16 C8 FF D8 22 D7 03 FF FE D9 10 .&......."......
00002910 D4 21 48 36 1E 26 6C 6A C8 6F D8 22 FF FE D9 24 .!H6.&lj.o."...$
00002920 D4 21 48 56 1E 26 16 98 FE CA EF 3C 18 9B 10 9C .!HV.&.....<....
00002930 C7 AF D8 22 FF FE D9 34 D4 21 48 56 1E 26 16 98 ..."...4.!HV.&..
00002940 6C 6A 18 9B 10 9C C6 FF D8 22 D7 03 FF FE D9 4C lj.......".....L
00002950 D4 21 48 46 1E 26 FE CA EF 6A C7 9F D8 22 D7 03 .!HF.&...j..."..
00002960 FF FE D9 64 D4 21 48 36 1E 26 6C 6A C7 0F D8 22 ...d.!H6.&lj..."
00002970 FF FE D9 78 D4 21 48 56 1E 26 16 98 FE CA EF 90 ...x.!HV.&......
00002980 18 9B 10 9C C6 4F D8 22 FF FE D9 88 D4 21 48 56 .....O.".....!HV
00002990 1E 26 16 98 6C 6A 18 9B 10 9C C5 9F D8 22 D7 03 .&..lj......."..
000029A0 FF FE D9 A0 D4 21 48 46 1E 26 FE CA EF BE C6 3F .....!HF.&.....?
000029B0 D8 22 D7 03 FF FE D9 B8 D4 21 48 36 1E 26 6C 6A .".......!H6.&lj
000029C0 C5 AF D8 22 FF FE D9 CC D4 21 48 56 1E 26 16 98 ...".....!HV.&..
000029D0 FE CA EF E4 18 9B 10 9C C4 EF D8 22 FF FE D9 DC ..........."....
000029E0 D4 21 48 56 1E 26 16 98 6C 6A 18 9B 10 9C C4 3F .!HV.&..lj.....?
000029F0 D8 22 D7 03 FF FE D9 F4 D4 21 48 46 1E 26 FE CA .".......!HF.&..
00002A00 F0 12 C4 EF D8 22 D7 03 FF FE DA 0C D4 21 48 36 .....".......!H6
00002A10 1E 26 6C 6A C4 5F D8 22 FF FE DA 20 D4 21 48 56 .&lj._."... .!HV
00002A20 1E 26 16 98 FE CA F0 38 18 9B 10 9C C3 9F D8 22 .&.....8......."
00002A30 FF FE DA 30 D4 21 48 56 1E 26 16 98 6C 6A 18 9B ...0.!HV.&..lj..
00002A40 10 9C C2 EF D8 22 D7 03 FF FE DA 48             .....".....H   

;; fn00002A4C: 00002A4C
;;   Called from:
;;     0000396E (in fn0000393C)
;;     000039A4 (in fn0000393C)
fn00002A4C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[32]
	rsub	r6,pc
	ld.w	r8,r6[8]
	mov	r10,00000000
	ld.w	r9,r8[20]
	ld.w	r11,r8[12]
	ld.w	r8,r8[16]
	rjmp	00002A64

l00002A5E:
	st.w	r8++,r9
	sub	r10,FFFFFFFF
	sub	r9,FFFFFF84

l00002A64:
	cp.w	r10,r11
	brne	00002A5E

l00002A68:
	popm	r4-r7,pc
00002A6A                               D7 03 FF FE DA 60           .....`

;; fn00002A70: 00002A70
;;   Called from:
;;     00002DBA (in fn00002DB4)
;;     0000443E (in fn00004374)
fn00002A70 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[188]
	rsub	r6,pc
	cp.w	r12,00000000
	breq	00002A88

l00002A7A:
	mov	r8,r11
	andl	r8,F000,COH
	cp.w	r8,00008000
	sreq	r8
	rjmp	00002A8C

l00002A88:
	cp.w	r10,00000005
	sreq	r8

l00002A8C:
	cp.w	r8,00000000
	breq	00002AA6

l00002A90:
	cp.w	r12,00000000
	breq	00002B2A

l00002A94:
	ld.w	r8,r6[8]
	ld.w	r8,r8[24]
	cp.w	r8,00000003
	brne	00002B2A

l00002A9C:
	andl	r11,0049,COH
	breq	00002B2A

l00002AA2:
	mov	r12,0000002A
	popm	r4-r7,pc

l00002AA6:
	cp.w	r12,00000000
	breq	00002AB8

l00002AAA:
	mov	r8,r11
	andl	r8,F000,COH
	cp.w	r8,00004000
	sreq	r9
	rjmp	00002AC2

l00002AB8:
	cp.w	r10,00000003
	sreq	r9
	cp.w	r10,00000009
	sreq	r8
	or	r9,r8

l00002AC2:
	cp.w	r9,00000000
	breq	00002ACA

l00002AC6:
	mov	r12,0000002F
	popm	r4-r7,pc

l00002ACA:
	ld.w	r8,r6[8]
	ld.w	r8,r8[24]
	cp.w	r8,00000001
	breq	00002B2A

l00002AD2:
	cp.w	r12,00000000
	breq	00002AE4

l00002AD6:
	mov	r8,r11
	andl	r8,F000,COH
	cp.w	r8,0000A000
	sreq	r8
	rjmp	00002AE8

l00002AE4:
	cp.w	r10,00000006
	sreq	r8

l00002AE8:
	cp.w	r8,00000000
	breq	00002AF0

l00002AEC:
	mov	r12,00000040
	popm	r4-r7,pc

l00002AF0:
	cp.w	r12,00000000
	breq	00002B02

l00002AF4:
	mov	r8,r11
	andl	r8,F000,COH
	cp.w	r8,00001000
	sreq	r8
	rjmp	00002B06

l00002B02:
	cp.w	r10,00000001
	sreq	r8

l00002B06:
	cp.w	r8,00000000
	breq	00002B0E

l00002B0A:
	mov	r12,0000007C
	popm	r4-r7,pc

l00002B0E:
	cp.w	r12,00000000
	breq	00002B1E

l00002B12:
	andl	r11,F000,COH
	cp.w	r11,0000C000
	sreq	r8
	rjmp	00002B22

l00002B1E:
	cp.w	r10,00000007
	sreq	r8

l00002B22:
	cp.w	r8,00000000
	breq	00002B2A

l00002B26:
	mov	r12,0000003D
	popm	r4-r7,pc

l00002B2A:
	popm	r4-r7,pc,r12=0
00002B2C                                     FF FE DA 84             ....

;; fn00002B30: 00002B30
;;   Called from:
;;     00006CD8 (in fn00006CAC)
fn00002B30 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[36]
	rsub	r6,pc
	mov	r4,r12
	ld.w	r7,r6[328]
	cp.w	r12,00000000
	breq	00002B58

l00002B40:
	ld.w	r8,r6[148]
	ld.w	r11,r6[1304]
	ld.w	r12,r8[0]
	ld.w	r8,r7[0]
	st.w	--sp,r8
	mcall	r6[104]
	rjmp	00002CB2
00002B54             FF FE DB 44                             ...D       

l00002B58:
	ld.w	r12,r6[1300]
	ld.w	r8,r7[0]
	st.w	--sp,r8
	mcall	r6[88]
	ld.w	r5,r6[40]
	ld.w	r12,r6[1296]
	ld.w	r11,r5[0]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1292]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1288]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1284]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1280]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1276]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1272]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1268]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1264]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1260]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1256]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1252]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1248]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1244]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1240]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1236]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1232]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1228]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1224]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1220]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1216]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1212]
	rjmp	00002C40

l00002C40:
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1208]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1204]
	mcall	r6[20]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1200]
	mcall	r6[20]
	ld.w	r12,r7[0]
	rcall	00006E94
	ld.w	r8,r6[1196]
	st.w	--sp,r8
	st.w	--sp,r12
	ld.w	r12,r6[1192]
	mcall	r6[88]
	ld.w	r8,r6[1188]
	ld.w	r12,r6[1184]
	st.w	--sp,r8
	ld.w	r8,r6[384]
	st.w	--sp,r8
	mcall	r6[88]
	ld.w	r11,r5[0]
	ld.w	r12,r6[1180]
	mcall	r6[20]
	mov	r12,00000005
	rcall	00008A8C
	sub	sp,FFFFFFEC
	castu.b	r12
	breq	00002CB4

l00002CA2:
	ld.w	r12,r7[0]
	rcall	00006E94
	st.w	--sp,r12
	ld.w	r12,r6[1176]
	mcall	r6[88]

l00002CB2:
	sub	sp,FFFFFFFC

l00002CB4:
	mov	r12,r4
	mcall	r6[276]
	nop

;; fn00002CBC: 00002CBC
;;   Called from:
;;     0000521E (in fn0000511C)
;;     000052E6 (in fn0000511C)
fn00002CBC proc
	pushm	r4-r7,lr
	lddpc	r6,pc[72]
	rsub	r6,pc
	mov	r7,00000000
	rjmp	00002CDA

l00002CC6:
	ld.w	r8,r9[16]
	ld.w	r5,r8[r7<<2]
	sub	r7,FFFFFFFF
	ld.w	r12,r5[0]
	mcall	r6[12]
	ld.w	r12,r5[4]
	mcall	r6[12]

;; fn00002CDA: 00002CDA
;;   Called from:
;;     00002CC4 (in fn00002CBC)
;;     00002CC4 (in fn00002B30)
fn00002CDA proc
	ld.w	r9,r6[8]
	ld.w	r8,r9[12]
	cp.w	r7,r8
	brcs	00002CC6

l00002CE2:
	mov	r8,00000000
	st.w	r9[68],r8
	st.w	r9[12],r8
	st.b	r9[28],r8
	st.w	r9[-32],r8
	st.w	r9[-28],r8
	st.w	r9[-24],r8
	st.w	r9[-20],r8
	st.w	r9[-16],r8
	st.w	r9[-12],r8
	st.w	r9[-8],r8
	st.w	r9[-4],r8
	st.w	r9[64],r8
	popm	r4-r7,pc
00002D04             FF FE DC D0                             ....       

;; fn00002D08: 00002D08
fn00002D08 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[28]
	rsub	r6,pc
	mov	r5,r12
	ld.w	r12,r12[0]
	mcall	r6[12]
	ld.w	r12,r5[4]
	mcall	r6[12]
	mov	r12,r5
	mcall	r6[12]
	popm	r4-r7,pc
00002D24             FF FE DD 1C                             ....       

;; fn00002D28: 00002D28
fn00002D28 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[12]
	rsub	r6,pc
	mcall	r6[12]
	popm	r4-r7,pc
00002D34             FF FE DD 3C                             ...<       

;; fn00002D38: 00002D38
;;   Called from:
;;     00004A5A (in fn00004968)
;;     00004AFE (in fn00004968)
fn00002D38 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[120]
	rsub	r6,pc
	mov	r7,r12
	mov	r5,r11
	rjmp	00002DA8

l00002D44:
	ld.w	r8,r6[8]
	ld.w	r10,r8[-56]
	cp.w	r10,00000000
	breq	00002D8C

l00002D4C:
	sub	r9,r7,FFFFFFFF
	divu	r8,r9,r10
	divu	r10,r5,r10
	mov	r9,r8
	cp.w	r10,r9
	brls	00002D8C

l00002D60:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00002D74

l00002D6C:
	mov	r8,00000009
	st.b	r9++,r8
	st.w	r11[16],r9
	rjmp	00002D7A

l00002D74:
	mov	r12,00000009
	mcall	r6[52]

l00002D7A:
	ld.w	r8,r6[8]
	ld.w	r8,r8[-56]
	divu	r10,r7,r8
	add	r8,r7,r8
	sub	r7,r8,r11
	rjmp	00002DA8

l00002D8C:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00002DA0

l00002D98:
	mov	r8,00000020
	st.b	r9++,r8
	st.w	r11[16],r9
	rjmp	00002DA6

l00002DA0:
	mov	r12,00000020
	mcall	r6[52]

l00002DA6:
	sub	r7,FFFFFFFF

l00002DA8:
	cp.w	r7,r5
	brcs	00002D44

l00002DAC:
	popm	r4-r7,pc
00002DAE                                           D7 03               ..
00002DB0 FF FE DD 4C                                     ...L           

;; fn00002DB4: 00002DB4
;;   Called from:
;;     00004954 (in fn00004864)
;;     000050E0 (in fn00004968)
fn00002DB4 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[56]
	rsub	r6,pc
	rcall	00002A70
	bfextu	r7,r12,+00000000,+00000008
	breq	00002DE4

l00002DC2:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00002DD4

l00002DCE:
	st.b	r9++,r7
	st.w	r11[16],r9
	rjmp	00002DDA

l00002DD4:
	mov	r12,r7
	mcall	r6[52]

l00002DDA:
	ld.w	r9,r6[8]
	ld.w	r8,r9[-52]
	sub	r8,FFFFFFFF
	st.w	r9[76],r8

l00002DE4:
	cp.w	r7,00000000
	srne	r12
	popm	r4-r7,pc
00002DEA                               D7 03 FF FE DD C8           ......

;; fn00002DF0: 00002DF0
fn00002DF0 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[132]
	rsub	r6,pc
	ld.w	r9,r11[12]
	ld.w	r5,r11[8]
	sub	r8,r9,r5
	lsr	r3,r8,00000002
	breq	00002E72

l00002E04:
	cp.w	r9,r5
	brne	00002E12

l00002E08:
	ld.w	r8,r11[40]
	mov	r9,00000001
	bfexts	r8,r9,+0000001E,+00000001
	st.w	r11[-24],r8

l00002E12:
	ld.w	r9,r11[12]
	ld.w	r8,r11[24]
	ld.w	lr,r11[16]
	rsub	r10,r8,FFFFFFFF
	add	r8,r9
	ld.w	r9,r11[4]
	and	r8,r10
	st.w	r11[12],r8
	sub	r8,r9
	sub	r9,lr,r9
	cp.w	r8,r9
	brle	00002E32

l00002E30:
	st.w	r11[12],lr

l00002E32:
	ld.w	r8,r11[12]
	st.w	r11[8],r8
	ld.w	r8,r6[40]
	ld.w	r4,r6[1172]
	ld.w	r11,r8[0]
	mcall	r6[20]
	mov	r7,00000000

l00002E44:
	ld.w	r8,r5[r7<<2]
	mov	r12,r4
	sub	r7,FFFFFFFF
	st.w	--sp,r8
	mcall	r6[88]
	sub	sp,FFFFFFFC
	cp.w	r7,r3
	brne	00002E44

l00002E58:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00002E6C

l00002E64:
	mov	r8,0000000A
	st.b	r9++,r8
	st.w	r11[16],r9
	popm	r0-r3,r4-r7,pc

l00002E6C:
	mov	r12,0000000A
	mcall	r6[52]

l00002E72:
	popm	r0-r3,r4-r7,pc
00002E74             FF FE DE 04                             ....       

;; fn00002E78: 00002E78
fn00002E78 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[348]
	rsub	r6,pc
	mov	r5,00000000
	mov	r3,r11
	ld.w	r7,r12[0]
	ld.w	r11,r11[0]
	mov	r4,r12
	mov	r2,r10
	mov	r1,r9
	mov	r10,r5
	mov	r12,r5
	rjmp	00002E94

l00002E92:
	mov	r10,r9

l00002E94:
	cp.w	r12,00000004
	brhi	0000306E

l00002E9A:
	sub	r8,pc,FFFFFFF6
	ld.ub	lr,r11[0]
	add	pc,r8,r12<<2

l00002EA4:
	br	00002EB8

l00002EA8:
	br	00002EFC

l00002EAC:
	br	00002FC0

l00002EB0:
	br	00002FD8

l00002EB4:
	br	0000303E

l00002EB8:
	cp.w	lr,00000000
	breq	00003078

l00002EBE:
	mov	r8,0000003A
	cp.b	lr,r8
	breq	00003078

l00002EC8:
	mov	r8,0000003D
	cp.b	lr,r8
	breq	00002EEE

l00002ED0:
	mov	r8,0000005C
	cp.b	lr,r8
	breq	00002EE2

l00002ED8:
	mov	r8,0000005E
	cp.b	lr,r8
	brne	00002EF4

l00002EE0:
	rjmp	00002EE8

l00002EE2:
	sub	r11,FFFFFFFF
	mov	r12,00000001
	rjmp	0000307C

l00002EE8:
	sub	r11,FFFFFFFF
	mov	r12,00000004
	rjmp	0000307C

l00002EEE:
	cp.w	r2,00000000
	brne	00003078

l00002EF4:
	sub	r11,FFFFFFFF
	sub	r5,FFFFFFFF
	st.b	r7++,lr
	rjmp	0000307C

l00002EFC:
	mov	r9,lr
	cp.w	lr,00000000
	breq	00003072

l00002F04:
	mov	r8,00000030
	cp.b	lr,r8
	brcs	00002FAC

l00002F0C:
	mov	r8,00000037
	cp.b	lr,r8
	brls	00002F84

l00002F16:
	mov	r8,0000003F
	cp.b	lr,r8
	breq	00002FAA

l00002F1E:
	mov	r8,00000058
	cp.b	lr,r8
	breq	00002F90

l00002F26:
	mov	r8,0000005F
	cp.b	lr,r8
	breq	00003080

l00002F30:
	mov	r8,00000061
	cp.b	lr,r8
	breq	00002F80

l00002F38:
	mov	r8,00000062
	cp.b	lr,r8
	breq	00002F7C

l00002F40:
	mov	r8,00000065
	cp.b	lr,r8
	breq	00003084

l00002F4A:
	mov	r8,00000066
	cp.b	lr,r8
	breq	00002F96

l00002F52:
	mov	r8,0000006E
	cp.b	lr,r8
	breq	00002F9A

l00002F5A:
	mov	r8,00000072
	cp.b	lr,r8
	breq	00002F9E

l00002F62:
	mov	r8,00000074
	cp.b	lr,r8
	breq	00002FA2

l00002F6A:
	mov	r8,00000076
	cp.b	lr,r8
	breq	00002FA6

l00002F72:
	mov	r8,00000078
	cp.b	lr,r8
	brne	00002FAC

l00002F7A:
	rjmp	00002F90

l00002F7C:
	mov	r9,00000008
	rjmp	00002FB0

l00002F80:
	mov	r9,00000007
	rjmp	00002FB0

l00002F84:
	sub	r8,lr,00000030
	bfextu	r10,r8,+00000000,+00000008
	mov	r12,00000002
	rjmp	00003074

l00002F90:
	mov	r10,00000000
	mov	r12,00000003
	rjmp	00003074

l00002F96:
	mov	r9,0000000C
	rjmp	00002FAC

l00002F9A:
	mov	r9,0000000A
	rjmp	00002FAC

l00002F9E:
	mov	r9,0000000D
	rjmp	00002FAC

l00002FA2:
	mov	r9,00000009
	rjmp	00002FAC

l00002FA6:
	mov	r9,0000000B
	rjmp	00002FAC

l00002FAA:
	mov	r9,0000007F

l00002FAC:
	cp.w	r12,00000001
	brne	00002FB6

l00002FB0:
	sub	r5,FFFFFFFF
	mov	r12,00000000
	st.b	r7++,r9

l00002FB6:
	sub	r11,FFFFFFFF
	cp.w	r12,00000004
	brls	00002E92

l00002FBE:
	rjmp	00003088

l00002FC0:
	sub	r9,lr,00000030
	mov	r8,00000007
	cp.b	r9,r8
	brhi	00003036

l00002FCE:
	add	r8,lr,r10<<3
	rjmp	00003014
00002FD4             FF FE DE 8C                             ....       

l00002FD8:
	mov	r8,00000030
	cp.b	lr,r8
	brcs	00003036

l00002FE0:
	mov	r8,00000039
	cp.b	lr,r8
	brls	0000300C

l00002FEA:
	mov	r8,00000041
	cp.b	lr,r8
	brcs	00003036

l00002FF2:
	mov	r8,00000046
	cp.b	lr,r8
	brls	00003024

l00002FFC:
	sub	r9,lr,00000061
	mov	r8,00000005
	cp.b	r9,r8
	brhi	00003036

l0000300A:
	rjmp	00003018

l0000300C:
	lsl	r8,r10,00000004
	add	r8,lr,r8

l00003014:
	sub	r8,00000030
	rjmp	0000302E

l00003018:
	lsl	r8,r10,00000004
	add	r8,lr,r8
	sub	r8,00000057
	rjmp	0000302E

l00003024:
	lsl	r8,r10,00000004
	add	r8,lr,r8
	sub	r8,00000037

l0000302E:
	bfextu	r10,r8,+00000000,+00000008
	sub	r11,FFFFFFFF
	rjmp	0000307C

l00003036:
	sub	r5,FFFFFFFF
	mov	r12,00000000
	st.b	r7++,r10
	rjmp	0000307C

l0000303E:
	sub	r9,lr,00000040
	mov	r8,0000003E
	cp.b	r9,r8
	brhi	00003058

l0000304C:
	bfextu	r8,lr,+00000000,+00000005
	sub	r11,FFFFFFFF
	sub	r5,FFFFFFFF
	mov	r12,00000000
	rjmp	0000306A

l00003058:
	mov	r8,0000003F
	cp.b	lr,r8
	breq	00003064

l00003060:
	mov	r12,00000006
	rjmp	00003088

l00003064:
	sub	r5,FFFFFFFF
	mov	r12,00000000
	mov	r8,0000007F

l0000306A:
	st.b	r7++,r8
	rjmp	0000307C

l0000306E:
	mcall	r6[76]

l00003072:
	mov	r12,00000006

l00003074:
	mov	r9,r10
	rjmp	00002FB6

l00003078:
	mov	r12,00000005
	rjmp	00003088

l0000307C:
	mov	r9,r10
	rjmp	00002E92

l00003080:
	mov	r9,00000020
	rjmp	00002FB0

l00003084:
	mov	r9,0000001B
	rjmp	00002FB0

l00003088:
	st.w	r4[0],r7
	st.w	r3[0],r11
	cp.w	r12,00000006
	srne	r12
	st.w	r1[0],r5
	popm	r0-r3,r4-r7,pc

;; fn00003094: 00003094
fn00003094 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[28]
	rsub	r6,pc
	mov	r5,r12
	mov	r12,00000008
	rcall	0000B95C
	ld.w	r8,r6[8]
	ld.w	r9,r8[-48]
	st.w	r12[0],r5
	st.w	r8[80],r12
	st.w	r12[4],r9
	popm	r4-r7,pc
000030B0 FF FE E0 A8                                     ....           

;; fn000030B4: 000030B4
;;   Called from:
;;     0000395E (in fn0000393C)
;;     000044D2 (in fn00004458)
fn000030B4 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[32]
	rsub	r6,pc
	mov	r9,FFFFFFFF
	divu	r8,r9,r11
	cp.w	r8,r12
	brcc	000030C8

l000030C4:
	rcall	00006CAC

l000030C8:
	mul	r12,r11,r12
	rcall	0000B95C
	popm	r4-r7,pc
000030D2       D7 03 FF FE E0 C8                           ......       

;; fn000030D8: 000030D8
;;   Called from:
;;     00003440 (in fn00003334)
;;     00004654 (in fn000045F0)
;;     00004662 (in fn000045F0)
fn000030D8 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[68]
	rsub	r6,pc
	ld.w	r8,r6[-56]
	ld.w	r10,r8[r12<<3]
	add	r12,r8,r12<<3
	ld.w	r12,r12[4]
	cp.w	r10,00000000
	breq	00003114

l000030EE:
	cp.w	r10,00000001
	brne	00003102

l000030F2:
	ld.w	r9,r6[1168]
	ld.ub	r8,r12[0]
	ld.ub	r9,r9[0]
	cp.b	r8,r9
	srne	r10
	rjmp	00003114

l00003102:
	cp.w	r10,00000002
	breq	0000310A

l00003106:
	mov	r10,00000001
	rjmp	00003114

l0000310A:
	ld.w	r11,r6[1164]
	mcall	r6[124]
	srne	r10

l00003114:
	bfextu	r12,r10,+00000000,+00000008
	popm	r4-r7,pc
0000311A                               D7 03 FF FE E0 EC           ......

;; fn00003120: 00003120
;;   Called from:
;;     00003A62 (in fn00003A44)
;;     00003ABE (in fn00003A44)
;;     00003AD2 (in fn00003A44)
fn00003120 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[68]
	rsub	r6,pc
	mov	r4,r12
	mov	r7,r11
	mov	r12,00000010
	mov	r3,r10
	rcall	0000B95C
	mov	r5,r12
	cp.w	r7,00000000
	brne	0000313C

l00003138:
	mov	r12,r7
	rjmp	00003142

l0000313C:
	mov	r12,r7
	rcall	0000B994

l00003142:
	st.w	r5[4],r12
	cp.w	r4,00000000
	brne	0000314C

l00003148:
	mov	r12,r4
	rjmp	00003152

l0000314C:
	mov	r12,r4
	rcall	0000B994

l00003152:
	ld.w	r8,r6[8]
	st.w	r5[0],r12
	ld.w	r9,r8[-44]
	st.w	r8[84],r5
	st.b	r5[8],r3
	st.w	r5[12],r9
	popm	r0-r3,r4-r7,pc
00003164             FF FE E1 34                             ...4       

;; fn00003168: 00003168
;;   Called from:
;;     00003546 (in fn00003334)
;;     00003628 (in fn00003334)
;;     00005148 (in fn0000511C)
;;     00005180 (in fn0000511C)
;;     000052FA (in fn0000511C)
;;     00005318 (in fn0000511C)
fn00003168 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[44]
	rsub	r6,pc
	mov	r2,r12
	mov	r12,r10
	mov	r3,r11
	rcall	0000A778
	mov	r5,r12
	mcall	r6[28]
	st.w	--sp,r5
	mov	r10,r3
	ld.w	r11,r12[0]
	mov	r12,00000000
	mcall	r6[68]
	mov	r12,r2
	rcall	000027D8
	sub	sp,FFFFFFFC
	popm	r0-r3,r4-r7,pc
00003194             FF FE E1 7C                             ...|       

;; fn00003198: 00003198
;;   Called from:
;;     00003932 (in fn00003904)
;;     00004DDC (in fn00004968)
;;     00004E0E (in fn00004968)
fn00003198 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[116]
	rsub	r6,pc
	mov	r5,r12
	mov	r7,r10
	cp.w	r12,00000000
	breq	000031EE

l000031A6:
	mov	r11,00000000
	rcall	00006AA8
	ld.w	r8,r6[40]
	sub	r7,r12
	ld.w	r11,r8[0]
	mov	r8,00000000
	max	r7,r7,r8
	mov	r12,r5
	mcall	r6[20]
	mov	r12,r5
	mcall	r6[16]
	mov	r5,r7
	mov	r4,r12

l000031C8:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	000031DC

l000031D4:
	mov	r8,00000020
	st.b	r9++,r8
	st.w	r11[16],r9
	rjmp	000031E2

l000031DC:
	mov	r12,00000020
	mcall	r6[52]

l000031E2:
	sub	r7,00000001
	cp.w	r7,FFFFFFFF
	brne	000031C8

l000031E8:
	add	r10,r5,r4
	rjmp	000031FE

l000031EE:
	ld.w	r12,r6[1160]
	st.w	--sp,r11
	st.w	--sp,r10
	mcall	r6[88]
	sub	sp,FFFFFFF8
	mov	r10,r7

l000031FE:
	ld.w	r9,r6[8]
	ld.w	r8,r9[-52]
	sub	r8,FFFFFFFF
	add	r8,r10
	st.w	r9[76],r8
	popm	r4-r7,pc
0000320C                                     FF FE E1 AC             ....

;; fn00003210: 00003210
;;   Called from:
;;     00003380 (in fn00003334)
;;     0000448C (in fn00004458)
;;     0000449C (in fn00004458)
fn00003210 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[32]
	rsub	r6,pc
	mov	r9,FFFFFFFF
	divu	r8,r9,r10
	cp.w	r8,r11
	brcc	00003224

l00003220:
	rcall	00006CAC

l00003224:
	mul	r11,r10,r11
	rcall	0000B904
	popm	r4-r7,pc
0000322E                                           D7 03               ..
00003230 FF FE E2 24                                     ...$           

;; fn00003234: 00003234
fn00003234 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[68]
	rsub	r6,pc
	mov	r3,r12
	ld.w	r12,r12[0]
	mov	r7,r11
	mov	r11,0000002E
	mov	r4,r10
	mcall	r6[196]
	mov	r11,0000002E
	mov	r5,r12
	ld.w	r12,r7[0]
	mcall	r6[196]
	ld.w	r8,r6[224]
	cp.w	r12,00000000
	movne	r11,r12

l0000325C:
	moveq	r11,r8

l00003260:
	cp.w	r5,00000000
	movne	r12,r5

l00003266:
	moveq	r12,r8

l0000326A:
	icall	r4
	brne	00003274

l0000326E:
	ld.w	r11,r7[0]
	ld.w	r12,r3[0]
	icall	r4

l00003274:
	popm	r0-r3,r4-r7,pc
00003276                   D7 03 FF FE E2 48 D4 21 48 56       .....H.!HV
00003280 1E 26 16 98 6C 6A 18 9B 10 9C CD 5F D8 22 D7 03 .&..lj....._."..
00003290 FF FE E2 90 D4 21 48 56 1E 26 16 98 FE CA F8 B0 .....!HV.&......
000032A0 18 9B 10 9C CC 8F D8 22 FF FE E2 A8 D4 21 48 36 .......".....!H6
000032B0 1E 26 6C 6A CC 0F D8 22 FF FE E2 C0 D4 21 48 46 .&lj...".....!HF
000032C0 1E 26 FE CA F8 D6 CB 7F D8 22 D7 03 FF FE E2 D0 .&......."......

;; fn000032D0: 000032D0
;;   Called from:
;;     0000332C (in fn0000330C)
;;     000037B0 (in fn00003334)
fn000032D0 proc
	pushm	r4-r7,lr
	sub	sp,0000000C
	lddpc	r6,pc[52]
	rsub	r6,pc
	mov	r8,r11
	cp.w	r12,00000000
	breq	000032EC

l000032DE:
	mov	r11,00000000
	rcall	00006AA8
	mov	r8,00000000
	max	r12,r12,r8
	rjmp	00003302

l000032EC:
	ld.w	r11,r6[1156]
	mov	r12,sp
	mov	r5,sp
	st.w	--sp,r8
	mcall	r6[100]
	mov	r12,r5
	mcall	r6[16]
	sub	sp,FFFFFFFC

l00003302:
	sub	sp,FFFFFFF4
	popm	r4-r7,pc
00003306                   D7 03 FF FE E2 E6                   ......   

;; fn0000330C: 0000330C
;;   Called from:
;;     0000377C (in fn00003334)
;;     000037CE (in fn00003334)
fn0000330C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[36]
	rsub	r6,pc
	ld.w	r8,r6[8]
	mov	r7,r12
	ld.ub	r9,r8[88]
	mov	r8,00000000
	cp.b	r9,r8
	breq	00003326

l00003322:
	mov	r12,00000000
	rjmp	0000332A

l00003326:
	rcall	00009B5C

l0000332A:
	mov	r11,r7
	rcall	000032D0
	popm	r4-r7,pc
00003330 FF FE E3 20                                     ...            

;; fn00003334: 00003334
;;   Called from:
;;     000052C2 (in fn0000511C)
fn00003334 proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,sp,000002B0
	lddpc	r6,pc[304]
	rsub	r6,pc
	st.w	r7[-680],r12
	st.w	r7[-684],sp
	mov	r0,r10
	mov	r5,r11
	mov	r2,r8
	mov	r3,r9
	ld.w	r1,r7[36]
	cp.w	r10,00000000
	breq	00003370

l00003356:
	cp.w	r2,00000000
	cpc	r3
	breq	00003370

l0000335C:
	sub	r9,pc,FFFFCDB0
	ld.w	r11,r6[220]
	ld.w	r12,r6[1152]
	mov	r10,00000A20
	mcall	r6[60]

l00003370:
	ld.w	r10,r6[8]
	ld.w	r11,r10[12]
	ld.w	r8,r10[-36]
	cp.w	r11,r8
	brne	0000338E

l0000337A:
	ld.w	r12,r10[20]
	mov	r10,000000F8
	rcall	00003210
	ld.w	r9,r6[8]
	ld.w	r8,r9[-36]
	st.w	r9[20],r12
	lsl	r8,+00000001
	st.w	r9[92],r8

l0000338E:
	ld.w	r10,r6[8]
	mov	r11,00000000
	ld.w	r8,r10[12]
	ld.w	r10,r10[20]
	lsl	r9,r8,00000005
	sub	r9,r8
	add	r4,r10,r9<<2
	mov	r12,r4
	mov	r10,0000007C
	mcall	r6[44]
	st.d	r4[96],r3:r2
	st.w	r4[104],r5
	cp.w	r0,00000000
	brne	0000344A

l000033B4:
	ld.w	r9,r6[8]
	ld.ub	r10,r9[96]
	cp.b	r10,r0
	brne	0000344A

l000033C0:
	cp.w	r5,00000003
	brne	000033CE

l000033C4:
	ld.ub	r8,r9[97]
	cp.b	r8,r10
	brne	0000344A

l000033CE:
	ld.w	r8,r6[8]
	ld.ub	r11,r8[98]
	cp.w	r11,00000000
	brne	000033E2

l000033D8:
	ld.ub	r8,r8[99]
	cp.b	r8,r10
	breq	00003412

l000033E2:
	cp.w	r5,00000006
	breq	000033EA

l000033E6:
	cp.w	r5,00000000
	brne	00003408

l000033EA:
	ld.w	r9,r6[8]
	ld.w	r8,r9[-28]
	cp.w	r8,00000005
	breq	0000344A

l000033F2:
	ld.ub	r9,r9[104]
	cp.b	r9,r10
	brne	0000344A

l000033FC:
	ld.w	r10,r6[8]
	ld.ub	r8,r10[105]
	cp.b	r8,r9
	brne	0000344A

l00003408:
	cp.w	r11,00000000
	breq	00003412

l0000340C:
	cp.w	r2,00000000
	cpc	r3
	breq	0000344A

l00003412:
	ld.w	r9,r6[8]
	mov	r3,00000000
	ld.ub	r8,r9[99]
	cp.b	r8,r3
	breq	000038B0

l00003422:
	cp.w	r5,00000000
	breq	0000344A

l00003426:
	cp.w	r5,00000005
	brne	000038B0

l0000342C:
	ld.w	r8,r9[24]
	cp.w	r8,00000003
	breq	0000344A

l00003432:
	ld.ub	r8,r9[97]
	cp.b	r8,r3
	breq	000038B0

l0000343E:
	mov	r12,0000000E
	rcall	000030D8
	cp.b	r12,r3
	breq	000038B0

l0000344A:
	ld.w	r8,r7[-680]
	ld.ub	r9,r8[0]
	mov	r8,0000002F
	cp.b	r9,r8
	breq	00003466

l00003458:
	ld.ub	r10,r1[0]
	mov	r3,00000000
	st.b	r7[-685],r10
	cp.b	r10,r3
	brne	00003470

l00003466:
	ld.w	r2,r7[-680]
	rjmp	000034DA
0000346C                                     FF FE E3 4E             ...N

l00003470:
	ld.w	r12,r7[-680]
	mcall	r6[16]
	mov	r5,r12
	mov	r12,r1
	mcall	r6[16]
	ld.ub	r9,r7[-685]
	mov	r8,0000002E
	add	r5,r12
	sub	r5,FFFFFFF8
	andl	r5,FFFC
	sub	sp,r5
	mov	r2,sp
	cp.b	r9,r8
	brne	000034AA

l00003498:
	ld.ub	r8,r1[1]
	cp.b	r8,r3
	brne	000034AA

l000034A0:
	mov	r10,sp
	rjmp	000034C8

l000034A4:
	sub	r8,FFFFFFFF
	st.b	r10++,r9
	rjmp	000034AE

l000034AA:
	mov	r10,r2
	mov	r8,r1

l000034AE:
	ld.ub	r9,r8[0]
	cp.w	r9,00000000
	brne	000034A4

l000034B4:
	cp.w	r8,r1
	brls	000034C8

l000034BA:
	ld.ub	r8,r8[-1]
	mov	r9,0000002F
	cp.b	r8,r9
	breq	000034C8

l000034C6:
	st.b	r10++,r9

l000034C8:
	ld.w	r9,r7[-680]
	rjmp	000034D0

l000034CE:
	st.b	r10++,r8

l000034D0:
	ld.ub	r8,r9[0]
	sub	r9,FFFFFFFF
	cp.w	r8,00000000
	brne	000034CE

l000034D8:
	st.b	r10[0],r8

l000034DA:
	ld.w	r5,r6[8]
	ld.w	r8,r5[-28]
	cp.w	r8,00000003
	brcs	0000352E

l000034E2:
	cp.w	r8,00000004
	brls	000034F8

l000034E8:
	cp.w	r8,00000005
	brne	0000352E

l000034EC:
	sub	r11,r4,FFFFFFF8
	mov	r12,r2
	mcall	r6[208]
	rjmp	00003538

l000034F8:
	cp.w	r0,00000000
	breq	0000352E

l000034FC:
	sub	r11,r4,FFFFFFF8
	mov	r12,r2
	mcall	r6[208]
	ld.w	r8,r5[-28]
	mov	r1,r12
	cp.w	r8,00000003
	breq	0000353A

l0000350E:
	cp.w	r12,00000000
	brge	0000351E

l00003512:
	mcall	r6[28]
	ld.w	r8,r12[0]
	cp.w	r8,00000002
	sreq	r8
	rjmp	0000352A

l0000351E:
	ld.w	r8,r4[24]
	andl	r8,F000,COH
	cp.w	r8,00004000
	srne	r8

l0000352A:
	cp.w	r8,00000000
	breq	0000353A

l0000352E:
	sub	r11,r4,FFFFFFF8
	mov	r12,r2
	mcall	r6[484]

l00003538:
	mov	r1,r12

l0000353A:
	cp.w	r1,00000000
	breq	00003566

l0000353E:
	ld.w	r11,r6[1148]
	mov	r10,r2
	mov	r12,r0
	rcall	00003168
	cp.w	r0,00000000
	breq	00003554

l0000354C:
	mov	r0,00000000
	mov	r1,00000000
	br	000038F4

l00003554:
	ld.w	r12,r7[-680]
	mov	r0,00000000
	rcall	0000B994
	mov	r1,00000000
	ld.w	r9,r6[8]
	br	000038E4

l00003566:
	ld.w	r9,r6[8]
	mov	r8,00000001
	st.b	r4[116],r8
	ld.w	r5,r9[-20]
	cp.w	r5,00000000
	breq	0000357E

l00003574:
	ld.ub	r9,r9[112]
	cp.b	r9,r1
	breq	000035F2

l0000357E:
	mcall	r6[28]
	mov	r8,0000005F
	st.w	r12[0],r8
	ld.w	r8,r6[48]
	st.w	r4[112],r8
	mcall	r6[28]
	ld.w	r8,r12[0]
	mov	r3,r12
	cp.w	r8,0000005F
	breq	000035A2

l0000359A:
	cp.w	r8,0000003D
	brne	000038EE

l000035A2:
	cp.w	r5,00000000
	brne	000035C0

l000035A6:
	sub	r11,r4,FFFFFFF8
	mov	r12,r2
	rcall	000066CC
	lsr	r1,r12,0000001F
	cp.w	r12,00000000
	brle	000035C0

l000035BA:
	mov	r8,00000002
	rjmp	000035C2
000035BE                                           D7 03               ..

l000035C0:
	mov	r8,00000000

l000035C2:
	ld.w	r10,r6[8]
	st.w	r4[120],r8
	ld.ub	r9,r10[28]
	cp.w	r8,00000000
	srne	r8
	or	r8,r9
	srne	r8
	st.b	r10[28],r8
	cp.w	r1,00000000
	breq	000035F2

l000035DC:
	mov	r12,r2
	rcall	0000A778
	ld.w	r10,r6[1144]
	st.w	--sp,r12
	ld.w	r11,r3[0]
	mov	r12,00000000
	mcall	r6[68]
	sub	sp,FFFFFFFC

l000035F2:
	ld.w	r8,r4[24]
	andl	r8,F000,COH
	cp.w	r8,0000A000
	brne	000036CE

l000035FE:
	ld.w	r9,r6[8]
	ld.w	r8,r9[-20]
	cp.w	r8,00000000
	breq	00003612

l00003606:
	ld.ub	r9,r9[105]
	mov	r8,00000000
	cp.b	r9,r8
	breq	000036CE

l00003612:
	ld.w	r11,r4[56]
	mov	r12,r2
	rcall	000066D0
	st.w	r4[4],r12
	brne	0000362C

l0000361E:
	ld.w	r11,r6[1140]
	cp.w	r0,00000000
	srne	r12
	mov	r10,r2
	rcall	00003168

l0000362C:
	ld.w	r1,r4[4]
	cp.w	r1,00000000
	brne	00003636

l00003632:
	mov	r3,r1
	rjmp	000036C8

l00003636:
	ld.ub	r9,r1[0]
	mov	r8,0000002F
	cp.b	r9,r8
	breq	0000364A

l00003640:
	mov	r11,0000002F
	mov	r12,r2
	mcall	r6[196]
	brne	00003654

l0000364A:
	mov	r12,r1
	rcall	0000B994
	mov	r3,r12
	rjmp	0000367C

l00003654:
	sub	r5,r12,FFFFFFFF
	mov	r12,r1
	mcall	r6[16]
	sub	r5,r2
	sub	r12,FFFFFFFF
	add	r12,r5
	rcall	0000B95C
	mov	r11,r2
	mov	r10,r5
	mov	r3,r12
	mcall	r6[496]
	mov	r11,r1
	add	r12,r3,r5
	mcall	r6[128]

l0000367C:
	cp.w	r3,00000000
	breq	000036C8

l00003680:
	ld.w	r5,r6[8]
	ld.w	r8,r5[24]
	cp.w	r8,00000001
	brhi	00003696

l0000368A:
	ld.ub	r9,r5[105]
	mov	r8,00000000
	cp.b	r9,r8
	breq	000036C8

l00003696:
	sub	r11,r7,000002A4
	mov	r12,r3
	mcall	r6[208]
	brne	000036C8

l000036A2:
	mov	r8,00000001
	st.b	r4[117],r8
	cp.w	r0,00000000
	breq	000036C0

l000036AC:
	ld.w	r8,r5[-20]
	cp.w	r8,00000000
	breq	000036C0

l000036B2:
	ld.w	r8,r7[-660]
	andl	r8,F000,COH
	cp.w	r8,00004000
	breq	000036C8

l000036C0:
	ld.w	r8,r7[-660]
	st.w	r4[108],r8

l000036C8:
	mov	r12,r3
	mcall	r6[12]

l000036CE:
	ld.w	r8,r4[24]
	andl	r8,F000,COH
	cp.w	r8,0000A000
	brne	000036EE

l000036DA:
	ld.w	r8,r6[8]
	ld.ub	r9,r8[105]
	mov	r8,00000000
	cp.b	r9,r8
	brne	000036EE

l000036E8:
	mov	r8,00000001
	st.b	r4[117],r8

l000036EE:
	ld.w	r8,r4[24]
	andl	r8,F000,COH
	cp.w	r8,0000A000
	brne	00003700

l000036FA:
	mov	r8,00000006
	rjmp	00003720
000036FE                                           D7 03               ..

l00003700:
	cp.w	r8,00004000
	brne	0000371E

l00003706:
	ld.w	r8,r6[8]
	ld.ub	r8,r8[113]
	eorl	r8,0001
	and	r8,r0,r8
	breq	0000371A

l00003716:
	mov	r8,00000009
	rjmp	00003720

l0000371A:
	mov	r8,00000003
	rjmp	00003720

l0000371E:
	mov	r8,00000005

l00003720:
	ld.w	r5,r6[8]
	st.w	r4[104],r8
	ld.w	r8,r5[-20]
	ld.d	r1:r0,r4[64]
	cp.w	r8,00000000
	breq	0000373C

l00003730:
	ld.ub	r9,r5[114]
	mov	r8,00000000
	cp.b	r9,r8
	breq	00003768

l0000373C:
	ld.d	r9:r8,r5[120]
	mov	r10,r0
	st.d	--sp,r9:r8
	mov	r8,00000200
	mov	r9,00000000
	st.d	--sp,r9:r8
	mov	r11,r1
	ld.w	r9,r5[-12]
	sub	r12,r7,000002A4
	rcall	000093B8
	mov	r11,00000000
	rcall	00006AA8
	sub	sp,FFFFFFF0
	ld.w	r8,r5[36]
	cp.w	r8,r12
	brge	00003768

l00003766:
	st.w	r5[-28],r12

l00003768:
	ld.w	r5,r6[8]
	ld.w	r8,r5[-20]
	cp.w	r8,00000000
	brne	000037DA

l00003770:
	ld.w	r9,r6[48]
	ld.ub	r9,r9[2]
	cp.b	r9,r8
	breq	00003788

l0000377A:
	ld.w	r12,r4[32]
	rcall	0000330C
	ld.w	r8,r5[44]
	cp.w	r8,r12
	brge	00003788

l00003786:
	st.w	r5[-20],r12

l00003788:
	ld.w	r8,r6[48]
	mov	r9,00000000
	ld.ub	r8,r8[3]
	cp.b	r8,r9
	breq	000037BE

l00003794:
	ld.w	r8,r6[8]
	ld.w	r5,r4[36]
	ld.ub	r8,r8[88]
	cp.b	r8,r9
	breq	000037A8

l000037A2:
	mov	r12,00000000
	rjmp	000037AE
000037A6                   D7 03                               ..       

l000037A8:
	mov	r12,r5
	rcall	00009A5C

l000037AE:
	mov	r11,r5
	rcall	000032D0
	ld.w	r9,r6[8]
	ld.w	r8,r9[48]
	cp.w	r8,r12
	brge	000037BE

l000037BC:
	st.w	r9[-16],r12

l000037BE:
	ld.w	r5,r6[8]
	mov	r8,00000000
	ld.ub	r9,r5[128]
	cp.b	r9,r8
	breq	000037DA

l000037CC:
	ld.w	r12,r4[32]
	rcall	0000330C
	ld.w	r8,r5[52]
	cp.w	r8,r12
	brge	000037DA

l000037D8:
	st.w	r5[-12],r12

l000037DA:
	ld.w	r5,r6[8]
	mov	r8,00000000
	ld.ub	r9,r5[112]
	cp.b	r9,r8
	breq	000037F6

l000037E8:
	ld.w	r12,r4[-16]
	mcall	r6[16]
	ld.w	r8,r5[56]
	cp.w	r8,r12
	brge	000037F6

l000037F4:
	st.w	r5[-8],r12

l000037F6:
	ld.w	r5,r6[8]
	ld.w	r3,r5[-20]
	cp.w	r3,00000000
	brne	000038B4

l000037FE:
	ld.w	r10,r4[28]
	mov	r11,r3
	sub	r12,r7,00000018
	rcall	0000B7D4
	mcall	r6[16]
	ld.w	r8,r5[40]
	cp.w	r8,r12
	brge	00003816

l00003814:
	st.w	r5[-24],r12

l00003816:
	ld.w	r8,r4[24]
	andl	r8,F000,COH
	cp.w	r8,00002000
	breq	00003828

l00003822:
	cp.w	r8,00006000
	brne	0000387E

l00003828:
	ld.d	r11:r10,r4[40]
	sub	r2,r7,000002A4
	rcall	00002718
	mov	r11,r3
	mov	r10,r12
	mov	r12,r2
	rcall	0000B7D4
	mcall	r6[16]
	ld.w	r8,r5[60]
	cp.w	r8,r12
	brge	0000384A

l00003848:
	st.w	r5[-4],r12

l0000384A:
	ld.d	r11:r10,r4[40]
	rcall	0000272E
	mov	r11,r3
	mov	r10,r12
	mov	r12,r2
	rcall	0000B7D4
	mcall	r6[16]
	ld.w	r8,r5[-64]
	cp.w	r8,r12
	brge	0000386A

l00003866:
	st.w	r5[64],r12

l0000386A:
	ld.w	r8,r5[60]
	ld.w	r9,r5[-64]
	ld.w	r10,r5[-60]
	add	r8,r9
	sub	r8,FFFFFFFE
	cp.w	r10,r8
	brge	000038B4

l00003878:
	st.w	r5[68],r8
	rjmp	000038B4

l0000387E:
	ld.w	r8,r6[48]
	sub	r12,r7,000002A4
	ld.d	r9:r8,r8[4]
	st.d	--sp,r9:r8
	mov	r8,00000001
	mov	r9,00000000
	st.d	--sp,r9:r8
	ld.d	r11:r10,r4[52]
	ld.w	r9,r5[-12]
	rcall	000093B8
	mov	r11,r3
	rcall	00006AA8
	sub	sp,FFFFFFF0
	ld.w	r8,r5[-60]
	cp.w	r8,r12
	brge	000038B4

l000038A8:
	st.w	r5[68],r12
	rjmp	000038B4
000038AE                                           D7 03               ..

l000038B0:
	mov	r0,00000000
	mov	r1,00000000

l000038B4:
	ld.w	r5,r6[8]
	mov	r8,00000000
	ld.ub	r9,r5[98]
	cp.b	r9,r8
	breq	000038DA

l000038C2:
	ld.d	r11:r10,r4[96]
	sub	r12,r7,000002A4
	rcall	0000B7D4
	mcall	r6[16]
	ld.w	r8,r5[32]
	cp.w	r8,r12
	brge	000038DA

l000038D8:
	st.w	r5[-32],r12

l000038DA:
	ld.w	r12,r7[-680]
	rcall	0000B994
	ld.w	r9,r6[8]

l000038E4:
	st.w	r4[0],r12
	ld.w	r8,r9[12]
	sub	r8,FFFFFFFF
	st.w	r9[12],r8
	rjmp	000038F4

l000038EE:
	mov	r1,00000001
	br	000035C0

l000038F4:
	ld.w	sp,r7[-684]
	mov	r10,r0
	mov	r11,r1
	sub	sp,FFFFFD50
	popm	r0-r3,r4-r7,pc
00003902       D7 03                                       ..           

;; fn00003904: 00003904
;;   Called from:
;;     00004DA4 (in fn00004968)
;;     00004DF6 (in fn00004968)
fn00003904 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[52]
	rsub	r6,pc
	mov	r5,r11
	mov	r7,r12
	cp.w	r10,00000000
	brne	00003918

l00003912:
	ld.w	r12,r6[140]
	rjmp	0000392E

l00003918:
	ld.w	r8,r6[8]
	ld.ub	r9,r8[88]
	mov	r8,00000000
	cp.b	r9,r8
	breq	0000392A

l00003926:
	mov	r12,00000000
	rjmp	0000392E

l0000392A:
	rcall	00009B5C

l0000392E:
	mov	r10,r5
	mov	r11,r7
	rcall	00003198
	popm	r4-r7,pc
00003938                         FF FE E9 18                     ....   

;; fn0000393C: 0000393C
;;   Called from:
;;     000052DE (in fn0000511C)
;;     0000531C (in fn0000511C)
fn0000393C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[172]
	rsub	r6,pc
	ld.w	r7,r6[8]
	ld.w	r8,r7[12]
	ld.w	r10,r7[132]
	lsr	r9,r8,00000001
	add	r9,r8
	cp.w	r10,r9
	brcc	0000396E

l00003954:
	ld.w	r12,r7[16]
	mcall	r6[12]
	ld.w	r12,r7[12]
	mov	r11,0000000C
	rcall	000030B4
	ld.w	r8,r7[12]
	add	r8,r8,r8<<1
	st.w	r7[132],r8
	st.w	r7[16],r12

l0000396E:
	rcall	00002A4C
	ld.w	r8,r7[136]
	cp.w	r8,FFFFFFFF
	breq	000039E4

l0000397A:
	sub	r12,r7,FFFFFF74
	mcall	r6[420]
	breq	000039AA

l00003984:
	ld.w	r8,r6[8]
	ld.w	r8,r8[136]
	cp.w	r8,00000003
	brne	000039A4

l0000398E:
	sub	r9,pc,FFFFD3E2
	ld.w	r11,r6[220]
	ld.w	r12,r6[1136]
	sub	r9,FFFFFFF4
	mov	r10,00000CC6
	mcall	r6[60]

l000039A4:
	rcall	00002A4C
	mov	r12,00000001

l000039AA:
	ld.w	r9,r6[8]
	ld.w	r8,r9[136]
	cp.w	r8,00000004
	breq	000039B8

l000039B4:
	mov	r9,00000000
	rjmp	000039BC

l000039B8:
	ld.w	r9,r9[316]

l000039BC:
	ld.w	r11,r6[8]
	add	r8,r9,r8
	ld.ub	r9,r11[321]
	ld.ub	r10,r11[320]
	add	r8,r12,r8<<1
	add	r8,r9,r8<<1
	ld.w	r9,r6[-16]
	add	r8,r10,r8<<1
	ld.w	r12,r11[16]
	ld.w	r10,r9[r8<<2]
	ld.w	r11,r11[12]
	rcall	00009D6C

l000039E4:
	popm	r4-r7,pc
000039E6                   D7 03 FF FE E9 50 D4 31 48 76       .....P.1Hv
000039F0 1E 26 18 93 16 95 F0 16 00 07 30 08 99 08 0A 9B .&........0.....
00003A00 06 9C F0 16 00 7D D8 32 FF FE EA 00             .....}.2....   

;; fn00003A0C: 00003A0C
fn00003A0C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[16]
	rsub	r6,pc
	ld.w	r11,r11[0]
	ld.w	r12,r12[0]
	rcall	00006814
	popm	r4-r7,pc
00003A1C                                     FF FE EA 20             ... 
00003A20 D4 21 48 46 1E 26 16 98 18 9B 10 9C CF 0F D8 22 .!HF.&........."
00003A30 FF FE EA 34 D4 21 48 36 1E 26 CE 9F D8 22 D7 03 ...4.!H6.&..."..
00003A40 FF FE EA 48                                     ...H           

;; fn00003A44: 00003A44
;;   Called from:
;;     00005330 (in fn0000511C)
fn00003A44 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[228]
	rsub	r6,pc
	mov	r3,r12
	mov	r1,r11
	cp.w	r12,00000000
	breq	00003A66

l00003A52:
	ld.w	r8,r6[8]
	ld.w	r8,r8[324]
	cp.w	r8,00000000
	breq	00003A66

l00003A5C:
	mov	r10,00000000
	mov	r11,r12
	mov	r12,r10
	rcall	00003120

l00003A66:
	ld.w	r8,r6[8]
	ld.w	r4,r8[12]
	lsl	r8,r4,00000002
	sub	r2,r8,00000004
	rjmp	00003AEA

l00003A74:
	ld.w	r8,r8[16]
	ld.w	r7,r8[r2]
	ld.w	r8,r7[-24]
	cp.w	r8,00000003
	breq	00003A84

l00003A80:
	cp.w	r8,00000009
	brne	00003AE8

l00003A84:
	cp.w	r3,00000000
	breq	00003AB8

l00003A88:
	ld.w	r12,r7[0]
	rcall	00006E94
	mov	r8,0000002E
	ld.ub	r9,r12[0]
	cp.b	r9,r8
	brne	00003B18

l00003A98:
	ld.ub	r8,r12[1]
	cp.b	r8,r9
	movne	r8,00000001

l00003AA2:
	moveq	r8,00000002

l00003AA6:
	ld.ub	r12,r12[r8]
	cp.w	r12,00000000
	breq	00003AE8

l00003AAE:
	mov	r8,0000002F
	cp.b	r12,r8
	brne	00003B18

l00003AB6:
	rjmp	00003AE8

l00003AB8:
	ld.w	r11,r7[4]
	ld.w	r12,r7[0]
	mov	r10,r1
	rcall	00003120
	rjmp	00003ADC

l00003AC4:
	mov	r10,00000000
	mov	r12,r3
	rcall	000071D4
	ld.w	r11,r7[4]
	mov	r10,r1
	mov	r5,r12
	rcall	00003120
	mov	r12,r5
	mcall	r6[12]

l00003ADC:
	ld.w	r8,r7[-24]
	cp.w	r8,00000009
	brne	00003AE8

l00003AE2:
	ld.w	r12,r7[0]
	mcall	r6[12]

l00003AE8:
	sub	r2,00000004

l00003AEA:
	sub	r4,00000001
	ld.w	r8,r6[8]
	cp.w	r4,FFFFFFFF
	brne	00003A74

l00003AF2:
	mov	r10,00000000
	ld.w	r11,r8[16]
	ld.w	r12,r8[12]
	mov	r9,r10
	rjmp	00003B0E

l00003AFC:
	ld.w	r8,r11[r9<<2]
	st.w	r11[r10<<2],r8
	ld.w	r8,r8[-24]
	sub	r9,FFFFFFFF
	cp.w	r8,00000009
	srne	r8
	add	r10,r8

l00003B0E:
	cp.w	r9,r12
	brne	00003AFC

l00003B12:
	ld.w	r8,r6[8]
	st.w	r8[12],r10
	popm	r0-r3,r4-r7,pc

l00003B18:
	ld.w	r11,r7[0]
	mov	r8,0000002F
	ld.ub	r9,r11[0]
	cp.b	r9,r8
	brne	00003AC4

l00003B24:
	rjmp	00003AB8
00003B26                   D7 03 FF FE EA 58                   .....X   

;; fn00003B2C: 00003B2C
;;   Called from:
;;     00003B76 (in fn00003B60)
;;     00003B7C (in fn00003B60)
;;     00003B82 (in fn00003B60)
;;     00003B96 (in fn00003B8C)
;;     00003B9C (in fn00003B8C)
;;     0000473A (in fn000045F0)
;;     00004740 (in fn000045F0)
;;     00004748 (in fn000045F0)
;;     0000484E (in fn000045F0)
fn00003B2C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[48]
	rsub	r6,pc
	ld.w	r10,r6[8]
	mov	r8,00000000
	ld.ub	r9,r10[328]
	mov	r7,r12
	cp.b	r9,r8
	brne	00003B4A

l00003B42:
	mov	r8,00000001
	st.b	r10[328],r8
	rcall	00003B60

l00003B4A:
	ld.w	r8,r6[40]
	ld.w	r12,r7[4]
	ld.w	r9,r8[0]
	ld.w	r11,r7[0]
	mov	r10,00000001
	mcall	r6[280]
	popm	r4-r7,pc
00003B5A                               D7 03 FF FE EB 40           .....@

;; fn00003B60: 00003B60
;;   Called from:
;;     00003B48 (in fn00003B2C)
;;     0000482C (in fn000045F0)
fn00003B60 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[40]
	rsub	r6,pc
	ld.w	r7,r6[-56]
	ld.w	r8,r7[20]
	cp.w	r8,00000000
	breq	00003B74

l00003B6E:
	sub	r12,r7,FFFFFFF0
	rjmp	00003B82

l00003B74:
	mov	r12,r7
	rcall	00003B2C
	sub	r12,r7,FFFFFFE8
	rcall	00003B2C
	sub	r12,r7,FFFFFFF8

l00003B82:
	rcall	00003B2C
	popm	r4-r7,pc
00003B86                   D7 03 FF FE EB 74                   .....t   

;; fn00003B8C: 00003B8C
;;   Called from:
;;     000047E2 (in fn000045F0)
fn00003B8C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[20]
	rsub	r6,pc
	ld.w	r5,r6[-56]
	mov	r12,r5
	rcall	00003B2C
	sub	r12,r5,FFFFFFF8
	rcall	00003B2C
	popm	r4-r7,pc
00003BA0 FF FE EB A0                                     ....           

;; fn00003BA4: 00003BA4
;;   Called from:
;;     0000527C (in fn0000511C)
;;     0000528A (in fn0000511C)
fn00003BA4 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[36]
	rsub	r6,pc
	mov	r5,r11
	mov	r7,r12
	rjmp	00003BBC

l00003BB0:
	ld.w	r12,r7[0]
	rcall	000087C0
	brne	00003BBA

l00003BB8:
	popm	r4-r7,r12,pc,r12=1

l00003BBA:
	ld.w	r7,r7[4]

l00003BBC:
	mov	r10,00000004
	mov	r11,r5
	cp.w	r7,00000000
	brne	00003BB0

l00003BC4:
	mov	r12,r7
	popm	r4-r7,pc
00003BC8                         FF FE EB B8 D4 21 48 D6         .....!H.
00003BD0 1E 26 77 A8 79 AA 58 98 5F 09 58 38 5F 08 12 48 .&w.y.X._.X8_..H
00003BE0 58 3A C0 30 58 9A C0 41 58 08 C0 51 DC 2A 58 08 X:.0X..AX..Q.*X.
00003BF0 C0 20 DA 2A FE CA 02 08 FE B0 F6 02 D8 22 D7 03 . .*........."..
00003C00 FF FE EB E0 D4 21 48 D6 1E 26 77 A8 79 AA 58 98 .....!H..&w.y.X.
00003C10 5F 09 58 38 5F 08 16 9E 12 48 58 3A C0 30 58 9A _.X8_....HX:.0X.
00003C20 C0 41 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A 18 9B .AX..Q.*X.. .*..
00003C30 1C 9C CE DE D8 22 D7 03 FF FE EC 18 D4 21 48 B6 .....".......!H.
00003C40 1E 26 77 A8 79 AA 58 98 5F 09 58 38 5F 08 12 48 .&w.y.X._.X8_..H
00003C50 58 3A C0 30 58 9A C0 41 58 08 C0 51 DC 2A 58 08 X:.0X..AX..Q.*X.
00003C60 C0 20 DA 2A CD 4E D8 22 FF FE EC 50 D4 21 48 E6 . .*.N."...P.!H.
00003C70 1E 26 77 A8 79 AA 58 98 5F 09 58 38 5F 08 16 9E .&w.y.X._.X8_...
00003C80 12 48 58 3A C0 30 58 9A C0 41 58 08 C0 51 DC 2A .HX:.0X..AX..Q.*
00003C90 58 08 C0 20 DA 2A 6C 6A 18 9B 1C 9C FE B0 FA CC X.. .*lj........
00003CA0 D8 22 D7 03 FF FE EC 80 D4 21 48 E6 1E 26 77 A8 .".......!H..&w.
00003CB0 79 AA 58 98 5F 09 58 38 5F 08 16 9E 12 48 58 3A y.X._.X8_....HX:
00003CC0 C0 30 58 9A C0 41 58 08 C0 51 DC 2A 58 08 C0 20 .0X..AX..Q.*X.. 
00003CD0 DA 2A FE CA 02 E6 18 9B 1C 9C FE B0 FA AD D8 22 .*............."
00003CE0 FF FE EC BC D4 21 48 C6 1E 26 77 A8 79 AA 58 98 .....!H..&w.y.X.
00003CF0 5F 09 58 38 5F 08 12 48 58 3A C0 30 58 9A C0 41 _.X8_..HX:.0X..A
00003D00 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A 6C 6A FE B0 X..Q.*X.. .*lj..
00003D10 FA 93 D8 22 FF FE EC F8 D4 21 48 D6 1E 26 77 A8 ...".....!H..&w.
00003D20 79 AA 58 98 5F 09 58 38 5F 08 12 48 58 3A C0 30 y.X._.X8_..HX:.0
00003D30 58 9A C0 41 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A X..AX..Q.*X.. .*
00003D40 FE CA 03 54 FE B0 FA 78 D8 22 D7 03 FF FE ED 2C ...T...x.".....,
00003D50 D4 21 48 E6 1E 26 77 A8 79 AA 58 98 5F 09 58 38 .!H..&w.y.X._.X8
00003D60 5F 08 16 9E 12 48 58 3A C0 30 58 9A C0 41 58 08 _....HX:.0X..AX.
00003D70 C0 51 DC 2A 58 08 C0 20 DA 2A 6C 6A 18 9B 1C 9C .Q.*X.. .*lj....
00003D80 FE B0 F5 8F D8 22 D7 03 FF FE ED 64 D4 21 48 E6 .....".....d.!H.
00003D90 1E 26 77 A8 79 AA 58 98 5F 09 58 38 5F 08 16 9E .&w.y.X._.X8_...
00003DA0 12 48 58 3A C0 30 58 9A C0 41 58 08 C0 51 DC 2A .HX:.0X..AX..Q.*
00003DB0 58 08 C0 20 DA 2A FE CA 03 CA 18 9B 1C 9C FE B0 X.. .*..........
00003DC0 F5 70 D8 22 FF FE ED A0 D4 21 48 C6 1E 26 77 A8 .p.".....!H..&w.
00003DD0 79 AA 58 98 5F 09 58 38 5F 08 12 48 58 3A C0 30 y.X._.X8_..HX:.0
00003DE0 58 9A C0 41 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A X..AX..Q.*X.. .*
00003DF0 6C 6A FE B0 F5 56 D8 22 FF FE ED DC D4 21 48 D6 lj...V.".....!H.
00003E00 1E 26 77 A8 79 AA 58 98 5F 09 58 38 5F 08 12 48 .&w.y.X._.X8_..H
00003E10 58 3A C0 30 58 9A C0 41 58 08 C0 51 DC 2A 58 08 X:.0X..AX..Q.*X.
00003E20 C0 20 DA 2A FE CA 04 38 FE B0 F5 3B D8 22 D7 03 . .*...8...;."..
00003E30 FF FE EE 10 D4 21 48 E6 1E 26 77 A8 79 AA 58 98 .....!H..&w.y.X.
00003E40 5F 09 58 38 5F 08 16 9E 12 48 58 3A C0 30 58 9A _.X8_....HX:.0X.
00003E50 C0 41 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A 6C 6A .AX..Q.*X.. .*lj
00003E60 18 9B 1C 9C FE B0 F5 08 D8 22 D7 03 FF FE EE 48 .........".....H
00003E70 D4 21 48 E6 1E 26 77 A8 79 AA 58 98 5F 09 58 38 .!H..&w.y.X._.X8
00003E80 5F 08 16 9E 12 48 58 3A C0 30 58 9A C0 41 58 08 _....HX:.0X..AX.
00003E90 C0 51 DC 2A 58 08 C0 20 DA 2A FE CA 04 AE 18 9B .Q.*X.. .*......
00003EA0 1C 9C FE B0 F4 E9 D8 22 FF FE EE 84 D4 21 48 C6 .......".....!H.
00003EB0 1E 26 77 A8 79 AA 58 98 5F 09 58 38 5F 08 12 48 .&w.y.X._.X8_..H
00003EC0 58 3A C0 30 58 9A C0 41 58 08 C0 51 DC 2A 58 08 X:.0X..AX..Q.*X.
00003ED0 C0 20 DA 2A 6C 6A FE B0 F4 CF D8 22 FF FE EE C0 . .*lj....."....
00003EE0 D4 21 48 D6 1E 26 77 A8 79 AA 58 98 5F 09 58 38 .!H..&w.y.X._.X8
00003EF0 5F 08 12 48 58 3A C0 30 58 9A C0 41 58 08 C0 51 _..HX:.0X..AX..Q
00003F00 DC 2A 58 08 C0 20 DA 2A FE CA 05 1C FE B0 F4 B4 .*X.. .*........
00003F10 D8 22 D7 03 FF FE EE F4 D4 21 48 E6 1E 26 77 A8 .".......!H..&w.
00003F20 79 AA 58 98 5F 09 58 38 5F 08 16 9E 12 48 58 3A y.X._.X8_....HX:
00003F30 C0 30 58 9A C0 41 58 08 C0 51 DC 2A 58 08 C0 20 .0X..AX..Q.*X.. 
00003F40 DA 2A 6C 6A 18 9B 1C 9C FE B0 F4 82 D8 22 D7 03 .*lj........."..
00003F50 FF FE EF 2C D4 21 48 E6 1E 26 77 A8 79 AA 58 98 ...,.!H..&w.y.X.
00003F60 5F 09 58 38 5F 08 16 9E 12 48 58 3A C0 30 58 9A _.X8_....HX:.0X.
00003F70 C0 41 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A FE CA .AX..Q.*X.. .*..
00003F80 05 92 18 9B 1C 9C FE B0 F4 63 D8 22 FF FE EF 68 .........c."...h
00003F90 D4 21 48 C6 1E 26 77 A8 79 AA 58 98 5F 09 58 38 .!H..&w.y.X._.X8
00003FA0 5F 08 12 48 58 3A C0 30 58 9A C0 41 58 08 C0 51 _..HX:.0X..AX..Q
00003FB0 DC 2A 58 08 C0 20 DA 2A 6C 6A FE B0 F4 49 D8 22 .*X.. .*lj...I."
00003FC0 FF FE EF A4 D4 21 48 D6 1E 26 77 A8 79 AA 58 98 .....!H..&w.y.X.
00003FD0 5F 09 58 38 5F 08 12 48 58 3A C0 30 58 9A C0 41 _.X8_..HX:.0X..A
00003FE0 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A FE CA 06 00 X..Q.*X.. .*....
00003FF0 FE B0 F4 2E D8 22 D7 03 FF FE EF D8 D4 21 48 E6 .....".......!H.
00004000 1E 26 77 A8 79 AA 58 98 5F 09 58 38 5F 08 16 9E .&w.y.X._.X8_...
00004010 12 48 58 3A C0 30 58 9A C0 41 58 08 C0 51 DC 2A .HX:.0X..AX..Q.*
00004020 58 08 C0 20 DA 2A 6C 6A 18 9B 1C 9C FE B0 F3 FC X.. .*lj........
00004030 D8 22 D7 03 FF FE F0 10 D4 21 48 E6 1E 26 77 A8 .".......!H..&w.
00004040 79 AA 58 98 5F 09 58 38 5F 08 16 9E 12 48 58 3A y.X._.X8_....HX:
00004050 C0 30 58 9A C0 41 58 08 C0 51 DC 2A 58 08 C0 20 .0X..AX..Q.*X.. 
00004060 DA 2A FE CA 06 76 18 9B 1C 9C FE B0 F3 DD D8 22 .*...v........."
00004070 FF FE F0 4C D4 21 48 C6 1E 26 77 A8 79 AA 58 98 ...L.!H..&w.y.X.
00004080 5F 09 58 38 5F 08 12 48 58 3A C0 30 58 9A C0 41 _.X8_..HX:.0X..A
00004090 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A 6C 6A FE B0 X..Q.*X.. .*lj..
000040A0 F3 C3 D8 22 FF FE F0 88 D4 21 48 D6 1E 26 77 A8 ...".....!H..&w.
000040B0 79 AA 58 98 5F 09 58 38 5F 08 12 48 58 3A C0 30 y.X._.X8_..HX:.0
000040C0 58 9A C0 41 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A X..AX..Q.*X.. .*
000040D0 FE CA 06 E4 FE B0 F3 A8 D8 22 D7 03 FF FE F0 BC ........."......
000040E0 D4 21 48 E6 1E 26 77 A8 79 AA 58 98 5F 09 58 38 .!H..&w.y.X._.X8
000040F0 5F 08 16 9E 12 48 58 3A C0 30 58 9A C0 41 58 08 _....HX:.0X..AX.
00004100 C0 51 DC 2A 58 08 C0 20 DA 2A 6C 6A 18 9B 1C 9C .Q.*X.. .*lj....
00004110 FE B0 F3 76 D8 22 D7 03 FF FE F0 F4 D4 21 48 E6 ...v.".......!H.
00004120 1E 26 77 A8 79 AA 58 98 5F 09 58 38 5F 08 16 9E .&w.y.X._.X8_...
00004130 12 48 58 3A C0 30 58 9A C0 41 58 08 C0 51 DC 2A .HX:.0X..AX..Q.*
00004140 58 08 C0 20 DA 2A FE CA 07 5A 18 9B 1C 9C FE B0 X.. .*...Z......
00004150 F3 57 D8 22 FF FE F1 30 D4 21 48 C6 1E 26 77 A8 .W."...0.!H..&w.
00004160 79 AA 58 98 5F 09 58 38 5F 08 12 48 58 3A C0 30 y.X._.X8_..HX:.0
00004170 58 9A C0 41 58 08 C0 51 DC 2A 58 08 C0 20 DA 2A X..AX..Q.*X.. .*
00004180 6C 6A FE B0 F3 3D D8 22 FF FE F1 6C             lj...=."...l   

;; fn0000418C: 0000418C
;;   Called from:
;;     00004426 (in fn00004374)
;;     00004790 (in fn000045F0)
;;     000053EA (in fn0000511C)
fn0000418C proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,sp,00001018
	lddpc	r6,pc[344]
	rsub	r6,pc
	sub	r2,r7,0000100C
	st.w	r7[-4112],r12
	mov	r8,r10
	mov	r3,r11
	mov	r4,r10
	mov	r0,r9
	mov	r10,r11
	mov	r9,FFFFFFFF
	mov	r11,00001000
	mov	r12,r2
	rcall	0000A8DC
	st.w	r7[-4116],sp
	mov	r5,r12
	cp.w	r12,00000FFF
	brls	000041E0

l000041C4:
	sub	r8,r12,FFFFFFF9
	andl	r8,FFFC
	sub	sp,r8
	sub	r11,r12,FFFFFFFF
	mov	r8,r4
	mov	r10,r3
	mov	r9,FFFFFFFF
	mov	r12,sp
	mov	r2,sp
	rcall	0000A8DC

l000041E0:
	ld.w	r8,r6[8]
	ld.ub	r9,r8[329]
	mov	r8,00000000
	cp.b	r9,r8
	breq	0000430A

l000041F0:
	mcall	r6[172]
	add	r1,r2,r5
	cp.w	r12,00000001
	brls	000042E2

l000041FE:
	mov	r5,r2
	mov	r4,r2
	mov	r3,00000000
	rjmp	000042D8

l00004206:
	ld.ub	r10,r5[0]
	mov	r8,00000020
	cp.b	r10,r8
	brcs	00004254

l00004210:
	mov	r8,00000023
	cp.b	r10,r8
	brls	0000424C

l0000421A:
	mov	r8,00000025
	cp.b	r10,r8
	brcs	00004254

l00004222:
	mov	r8,0000003F
	cp.b	r10,r8
	brls	0000424C

l0000422C:
	mov	r8,00000041
	cp.b	r10,r8
	brcs	00004254

l00004234:
	mov	r8,0000005F
	cp.b	r10,r8
	brls	0000424C

l0000423E:
	sub	r9,r10,00000061
	mov	r8,0000001D
	cp.b	r9,r8
	brhi	00004254

l0000424C:
	sub	r5,FFFFFFFF
	sub	r3,FFFFFFFF
	st.b	r4++,r10
	rjmp	000042D8

l00004254:
	mov	r8,00000000
	mov	r9,00000000
	st.d	r7[-12],r9:r8

l0000425C:
	sub	r9,r7,0000000C
	sub	r10,r1,r5
	mov	r11,r5
	sub	r12,r7,00000004
	mcall	r6[248]
	st.w	r7[-4120],r12
	cp.w	r12,FFFFFFFF
	brne	0000427C

l00004276:
	sub	r5,FFFFFFFF
	sub	r3,FFFFFFFF
	rjmp	00004288

l0000427C:
	ld.w	r9,r7[-4120]
	cp.w	r9,FFFFFFFE
	brne	0000428E

l00004284:
	sub	r3,FFFFFFFF
	mov	r5,r1

l00004288:
	mov	r8,0000003F
	st.b	r4++,r8
	rjmp	000042D8

l0000428E:
	ld.w	r8,r7[-4120]
	ld.w	r12,r7[-4]
	cp.w	r8,00000000
	moveq	r8,00000001

l0000429C:
	st.w	r7[-4120],r8
	rcall	0000B88C
	brlt	000042C2

l000042A6:
	ld.w	r9,r7[-4120]
	mov	r11,r5
	mov	r10,r4

l000042AE:
	ld.ub	r8,r11++
	sub	r9,00000001
	st.b	r10++,r8
	brne	000042AE

l000042B6:
	ld.w	r8,r7[-4120]
	add	r3,r12
	add	r4,r8
	add	r5,r8
	rjmp	000042CE

l000042C2:
	ld.w	r9,r7[-4120]
	mov	r8,0000003F
	add	r5,r9
	sub	r3,FFFFFFFF
	st.b	r4++,r8

l000042CE:
	sub	r12,r7,0000000C
	mcall	r6[144]
	breq	0000425C

l000042D8:
	cp.w	r5,r1
	brcs	00004206

l000042DC:
	sub	r5,r4,r2
	rjmp	0000434E

l000042E2:
	ld.w	r8,r6[156]
	mov	r9,r2
	ld.w	r10,r8[0]
	rjmp	00004302
000042EC                                     FF FE F1 A6             ....

l000042F0:
	ld.ub	r8,r9[0]
	ld.uh	r8,r10[r8<<1]
	bld	r8,+00000006
	breq	00004300

l000042FC:
	mov	r8,0000003F
	st.b	r9[0],r8

l00004300:
	sub	r9,FFFFFFFF

l00004302:
	cp.w	r9,r1
	brcs	000042F0

l00004306:
	mov	r3,r5
	rjmp	0000434E

l0000430A:
	cp.w	r0,00000000
	breq	0000434E

l0000430E:
	mcall	r6[172]
	cp.w	r12,00000001
	brls	00004326

l00004318:
	mov	r10,00000000
	mov	r11,r5
	mov	r12,r2
	rcall	00006998
	mov	r3,r12
	rjmp	0000434E

l00004326:
	ld.w	r8,r6[156]
	mov	r9,r2
	ld.w	r12,r8[0]
	add	r11,r2,r5
	mov	r3,00000000
	rjmp	00004346

l00004336:
	ld.ub	r8,r9[0]
	sub	r9,FFFFFFFF
	ld.uh	r8,r12[r8<<1]
	andl	r8,0040,COH
	movne	r3,r10

l00004346:
	sub	r10,r3,FFFFFFFF
	cp.w	r9,r11
	brcs	00004336

l0000434E:
	ld.w	r8,r7[-4112]
	cp.w	r8,00000000
	breq	00004362

l00004356:
	mov	r9,r8
	mov	r12,r2
	mov	r10,r5
	mov	r11,00000001
	mcall	r6[280]

l00004362:
	cp.w	r0,00000000
	breq	00004368

l00004366:
	st.w	r0[0],r3

l00004368:
	ld.w	sp,r7[-4116]
	mov	r12,r5
	sub	sp,FFFFEFE8
	popm	r0-r3,r4-r7,pc

;; fn00004374: 00004374
;;   Called from:
;;     00004540 (in fn00004458)
;;     00004A30 (in fn00004968)
;;     00004AB0 (in fn00004968)
;;     00004B16 (in fn00004968)
;;     00004B38 (in fn00004968)
fn00004374 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,00000290
	lddpc	r6,pc[220]
	rsub	r6,pc
	ld.w	r10,r6[8]
	mov	r8,00000000
	ld.ub	r9,r10[98]
	mov	r7,r12
	cp.b	r9,r8
	brne	00004392

l0000438E:
	mov	r4,00000000
	rjmp	000043B2

l00004392:
	ld.w	r8,r10[-20]
	cp.w	r8,00000004
	brne	000043AC

l00004398:
	ld.d	r11:r10,r12[96]
	mov	r12,sp
	rcall	0000B7D4
	mcall	r6[16]
	sub	r4,r12,FFFFFFFF
	rjmp	000043B2

l000043AC:
	ld.w	r8,r10[32]
	sub	r4,r8,FFFFFFFF

l000043B2:
	ld.w	r12,r6[8]
	mov	r8,00000000
	ld.ub	r9,r12[114]
	cp.b	r9,r8
	breq	000043F2

l000043C0:
	ld.w	r8,r12[-20]
	cp.w	r8,00000004
	brne	000043EA

l000043C6:
	ld.d	r3:r2,r12[120]
	ld.d	r11:r10,r7[64]
	ld.w	r9,r12[-12]
	mov	r12,sp
	st.d	--sp,r3:r2
	mov	r2,00000200
	mov	r3,00000000
	st.d	--sp,r3:r2
	rcall	000093B8
	mcall	r6[16]
	sub	sp,FFFFFFF0
	sub	r12,FFFFFFFF
	rjmp	000043F0

l000043EA:
	ld.w	r8,r12[36]
	sub	r12,r8,FFFFFFFF

l000043F0:
	add	r4,r12

l000043F2:
	ld.w	r10,r6[8]
	mov	r8,00000000
	ld.ub	r9,r10[112]
	cp.b	r9,r8
	breq	00004418

l00004400:
	ld.w	r8,r10[-20]
	cp.w	r8,00000004
	brne	00004410

l00004406:
	ld.w	r12,r7[-16]
	mcall	r6[16]
	sub	r12,FFFFFFFF
	rjmp	00004416

l00004410:
	ld.w	r8,r10[56]
	sub	r12,r8,FFFFFFFF

l00004416:
	add	r4,r12

l00004418:
	ld.w	r5,r6[8]
	ld.w	r11,r7[0]
	ld.w	r10,r5[332]
	sub	r9,sp,FFFFFD74
	mov	r12,00000000
	rcall	0000418C
	ld.w	r9,r5[24]
	ld.w	r8,sp[652]
	add	r5,r4,r8
	cp.w	r9,00000000
	breq	0000444C

l00004436:
	ld.ub	r12,r7[116]
	ld.w	r10,r7[-24]
	ld.w	r11,r7[24]
	rcall	00002A70
	mov	r8,00000000
	cp.b	r12,r8
	srne	r8
	add	r5,r8

l0000444C:
	mov	r12,r5
	sub	sp,FFFFFD70
	popm	r0-r3,r4-r7,pc
00004454             FF FE F3 8C                             ....       

;; fn00004458: 00004458
;;   Called from:
;;     000049E8 (in fn00004968)
;;     00004A92 (in fn00004968)
fn00004458 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000004
	lddpc	r6,pc[288]
	rsub	r6,pc
	ld.w	r7,r6[8]
	stdsp	sp[0],r12
	ld.w	r11,r7[336]
	ld.w	r8,r7[12]
	ld.w	r9,r7[340]
	cp.w	r11,r8
	movls	r3,r11

l00004474:
	movhi	r3,r8

l00004478:
	cp.w	r9,r3
	brcc	0000450A

l0000447C:
	lsr	r8,r11,00000001
	cp.w	r3,r8
	brcc	00004496

l00004484:
	ld.w	r12,r7[344]
	mov	r10,00000018
	mov	r11,r3
	rcall	00003210
	lsl	r5,r3,00000001
	rjmp	000044A4

l00004496:
	ld.w	r12,r7[344]
	mov	r10,0000000C
	rcall	00003210
	ld.w	r5,r7[336]

l000044A4:
	st.w	r7[344],r12
	ld.w	r7,r6[8]
	ld.w	r9,r7[340]
	sub	r8,r9,FFFFFFFF
	add	r10,r8,r5
	cp.w	r10,r5
	brcs	000044CA

l000044BA:
	sub	r9,r5,r9
	mul	r12,r10,r9
	divu	r8,r12,r9
	cp.w	r8,r10
	breq	000044CE

l000044CA:
	rcall	00006CAC

l000044CE:
	mov	r11,00000004
	lsr	r12,+00000001
	rcall	000030B4
	ld.w	r10,r7[340]
	ld.w	r9,r7[344]
	add	r8,r10,r10<<1
	add	r8,r9,r8<<2
	sub	r11,r8,FFFFFFF8
	lsl	r9,r10,00000002
	rjmp	00004500

l000044F0:
	add	r8,r12,r9
	st.w	r11[0],r12
	sub	r10,FFFFFFFF
	sub	r12,r8,FFFFFFFC
	sub	r11,FFFFFFF4
	sub	r9,FFFFFFFC

l00004500:
	cp.w	r10,r5
	brcs	000044F0

l00004504:
	ld.w	r8,r6[8]
	st.w	r8[340],r5

l0000450A:
	ld.w	r8,r6[8]
	mov	r5,00000000
	ld.w	r10,r8[344]
	mov	r12,00000003
	rjmp	00004532

l00004516:
	mov	r8,00000001
	sub	r5,FFFFFFFF
	mov	r11,00000000
	st.b	r10[0],r8
	st.w	r10[4],r12

l00004520:
	ld.w	r9,r10[8]
	mov	r8,00000003
	st.w	r9[r11<<2],r8
	sub	r11,FFFFFFFF
	cp.w	r11,r5
	brne	00004520

l0000452E:
	sub	r10,FFFFFFF4
	add	r12,r8

l00004532:
	cp.w	r5,r3
	brne	00004516

l00004536:
	mov	r4,00000000
	rjmp	000045C0

l0000453A:
	ld.w	r8,r7[16]
	ld.w	r12,r8[r4<<2]
	rcall	00004374
	ld.w	r1,r7[12]
	ld.w	r2,r7[348]
	ld.w	r8,r7[344]
	mov	r0,r12
	sub	r10,r8,FFFFFFFC
	mov	r12,00000000
	rjmp	000045BA

l00004556:
	ld.ub	r9,r10[-4]
	mov	r8,00000000
	cp.b	r9,r8
	breq	000045B6

l00004562:
	lddsp	r9,sp[0]
	sub	r8,r12,FFFFFFFF
	cp.w	r9,00000000
	breq	00004580

l0000456C:
	add	r9,r12,r1
	divu	r8,r9,r8
	divu	r8,r4,r8
	mov	r9,r8
	rjmp	00004584
0000457C                                     FF FE F4 6E             ...n

l00004580:
	divu	r8,r4,r8

l00004584:
	ld.w	r7,r10[4]
	lsl	lr,r9,00000002
	cp.w	r9,r12
	movne	r8,00000002

l00004590:
	moveq	r8,00000000

l00004594:
	ld.w	r11,r7[lr]
	add	r9,r8,r0
	cp.w	r11,r9
	brcc	000045B6

l000045A0:
	ld.w	r8,r10[0]
	sub	r8,r11
	add	r8,r9
	st.w	r10[0],r8
	st.w	r7[lr],r9
	ld.w	r8,r10[0]
	cp.w	r8,r2
	srcs	r8
	st.b	r10[-4],r8

l000045B6:
	sub	r12,FFFFFFFF
	sub	r10,FFFFFFF4

l000045BA:
	cp.w	r12,r3
	brne	00004556

l000045BE:
	sub	r4,FFFFFFFF

l000045C0:
	ld.w	r7,r6[8]
	ld.w	r8,r7[12]
	cp.w	r4,r8
	brcs	0000453A

l000045C8:
	ld.w	r9,r7[344]
	add	r8,r5,r5<<1
	add	r8,r9,r8<<2
	sub	r9,r8,0000000C
	rjmp	000045E4

l000045DA:
	ld.ub	r8,r9[0]
	sub	r9,0000000C
	cp.w	r8,00000000
	brne	000045EA

l000045E2:
	sub	r5,00000001

l000045E4:
	cp.w	r5,00000001
	brhi	000045DA

l000045EA:
	mov	r12,r5
	sub	sp,FFFFFFFC
	popm	r0-r3,r4-r7,pc

;; fn000045F0: 000045F0
;;   Called from:
;;     0000493E (in fn00004864)
;;     00005078 (in fn00004968)
;;     000050C0 (in fn00004968)
fn000045F0 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,00000080
	lddpc	r6,pc[276]
	rsub	r6,pc
	ld.w	lr,r6[8]
	sub	r5,sp,FFFFFF5C
	ld.ub	lr,lr[97]
	mov	r7,r11
	mov	r11,r8
	mov	r8,00000000
	ld.w	r0,r5[8]
	ld.w	r4,r5[0]
	mov	r1,r12
	ld.w	r5,r5[4]
	cp.b	lr,r8
	breq	0000474E

l0000461A:
	cp.w	r10,FFFFFFFF
	brne	0000462A

l0000461E:
	ld.w	r8,r6[-56]
	ld.w	r8,r8[-28]
	cp.w	r8,00000000
	breq	0000462A

l00004626:
	mov	r7,0000000C
	rjmp	00004728

l0000462A:
	cp.w	r9,00000000
	breq	000046E2

l0000462E:
	mov	r8,r7
	andl	r8,F000,COH
	cp.w	r8,00008000
	brne	00004674

l0000463A:
	bld	r7,+0000000B
	brne	00004644

l00004640:
	mov	r7,00000010
	rjmp	00004728

l00004644:
	bld	r7,+0000000A
	brne	0000464E

l0000464A:
	mov	r7,00000011
	rjmp	00004728

l0000464E:
	andl	r7,0049,COH
	mov	r12,00000015
	rcall	000030D8
	cp.w	r7,00000000
	breq	00004660

l0000465C:
	mov	r7,0000000E
	rjmp	00004728

l00004660:
	mov	r12,00000016
	rcall	000030D8
	castu.b	r12
	breq	000046F2

l0000466A:
	cp.w	r5,00000001
	brls	000046F2

l00004670:
	mov	r7,00000016
	rjmp	00004728

l00004674:
	cp.w	r8,00004000
	brne	000046A2

l0000467A:
	mov	r8,r7
	andl	r8,0202,COH
	cp.w	r8,00000202
	brne	0000468A

l00004686:
	mov	r7,00000014
	rjmp	00004728

l0000468A:
	bld	r7,+00000001
	brne	00004694

l00004690:
	mov	r7,00000013
	rjmp	00004728

l00004694:
	andl	r7,0200,COH
	moveq	r7,00000006

l0000469C:
	movne	r7,00000012

l000046A0:
	rjmp	00004728

l000046A2:
	cp.w	r8,0000A000
	brne	000046B8

l000046A8:
	cp.w	r10,00000000
	brne	000046B4

l000046AC:
	ld.w	r8,r6[-56]
	ld.w	r8,r8[-20]
	cp.w	r8,00000000
	brne	000046DE

l000046B4:
	mov	r7,00000007
	rjmp	00004728

l000046B8:
	cp.w	r8,00001000
	brne	000046C2

l000046BE:
	mov	r7,00000008
	rjmp	00004728

l000046C2:
	cp.w	r8,0000C000
	brne	000046CC

l000046C8:
	mov	r7,00000009
	rjmp	00004728

l000046CC:
	cp.w	r8,00006000
	brne	000046D6

l000046D2:
	mov	r7,0000000A
	rjmp	00004728

l000046D6:
	cp.w	r8,00002000
	breq	00004854

l000046DE:
	mov	r7,0000000D
	rjmp	00004728

l000046E2:
	sub	r8,pc,FFFFE136
	add	r8,r8,r11<<2
	ld.w	r7,r8[24]
	cp.w	r7,00000005
	brne	00004728

l000046F0:
	rjmp	000046F4

l000046F2:
	mov	r7,00000005

l000046F4:
	mov	r12,r1
	mcall	r6[16]
	ld.w	r8,r6[8]
	ld.w	r5,r8[352]
	mov	r3,r12
	add	r2,r1,r12
	rjmp	00004724
00004708                         FF FE F6 08                     ....   

l0000470C:
	ld.w	r10,r5[0]
	cp.w	r10,r3
	brhi	00004722

l00004714:
	ld.w	r11,r5[4]
	sub	r12,r2,r10
	mcall	r6[124]
	breq	00004858

l00004722:
	ld.w	r5,r5[16]

l00004724:
	cp.w	r5,00000000
	brne	0000470C

l00004728:
	ld.w	r8,r6[-56]
	add	r7,r8,r7<<3

l0000472E:
	ld.w	r8,r7[4]
	cp.w	r8,00000000
	breq	0000474E

l00004734:
	ld.w	r5,r6[-56]
	mov	r2,00000001
	mov	r12,r5
	rcall	00003B2C
	mov	r12,r7
	rcall	00003B2C
	sub	r12,r5,FFFFFFF8
	rcall	00003B2C
	rjmp	00004750

l0000474E:
	mov	r2,00000000

l00004750:
	cp.w	r4,00000000
	breq	00004782

l00004754:
	ld.w	r7,r6[8]
	mov	r8,00000000
	ld.ub	r9,r7[356]
	cp.b	r9,r8
	breq	00004782

l00004762:
	ld.w	r8,r4[12]
	ld.w	r9,r4[16]
	sub	r8,FFFFFFFC
	cp.w	r8,r9
	brls	00004776

l0000476E:
	mov	r11,00000004
	mov	r12,r4
	mcall	r6[152]

l00004776:
	ld.w	r9,r4[12]
	ld.w	r8,r7[-52]
	st.w	r9[0],r8
	ld.w	r8,r4[12]
	sub	r8,FFFFFFFC
	st.w	r4[12],r8

l00004782:
	ld.w	r7,r6[8]
	ld.w	r8,r6[40]
	ld.w	r10,r7[332]
	ld.w	r12,r8[0]
	mov	r11,r1
	mov	r9,00000000
	rcall	0000418C
	ld.w	r8,r7[-52]
	add	r8,r12,r8
	st.w	r7[76],r8
	mov	r3,r12
	cp.w	r4,00000000
	breq	000047D0

l000047A4:
	ld.ub	r9,r7[356]
	mov	r8,00000000
	cp.b	r9,r8
	breq	000047D0

l000047B0:
	ld.w	r8,r4[12]
	ld.w	r9,r4[16]
	sub	r8,FFFFFFFC
	cp.w	r8,r9
	brls	000047C4

l000047BC:
	mov	r11,00000004
	mov	r12,r4
	mcall	r6[152]

l000047C4:
	ld.w	r9,r4[12]
	ld.w	r8,r7[-52]
	st.w	r9[0],r8
	ld.w	r8,r4[12]
	sub	r8,FFFFFFFC
	st.w	r4[12],r8

l000047D0:
	cp.w	r2,00000000
	brne	00004822

l000047D4:
	rjmp	0000485E

l000047D6:
	ld.ub	r9,r5[328]
	mov	r8,00000000
	cp.b	r9,r8
	breq	000047E6

l000047E2:
	rcall	00003B8C

l000047E6:
	ld.w	r8,r6[40]
	ld.w	r12,r8[0]
	mcall	r6[284]
	sub	r11,r5,FFFFFE98
	mov	r10,sp
	mov	r12,00000000
	mcall	r6[272]
	ld.w	r7,r5[0]
	ld.w	r11,r5[4]
	sub	r8,r11,00000001
	cp.w	r11,00000000
	breq	0000480C

l00004806:
	mov	r7,00000013
	st.w	r5[4],r8
	rjmp	00004812

l0000480C:
	mov	r12,r7
	mcall	r6[312]

l00004812:
	mov	r12,r7
	mcall	r6[228]
	mov	r10,00000000
	mov	r11,sp
	mov	r12,00000002
	mcall	r6[272]

l00004822:
	ld.w	r5,r6[8]
	ld.w	r9,r5[0]
	ld.w	r8,r5[4]
	or	r8,r9
	brne	000047D6

l0000482C:
	rcall	00003B60
	ld.w	r11,r5[348]
	sub	r9,r0,00000001
	add	r9,r3
	divu	r8,r9,r11
	divu	r10,r0,r11
	mov	r9,r8
	cp.w	r10,r9
	breq	0000485E

l00004848:
	ld.w	r12,r6[-56]
	sub	r12,r12,FFFFFF48
	rcall	00003B2C
	rjmp	0000485E

l00004854:
	mov	r7,0000000B
	rjmp	00004728

l00004858:
	sub	r7,r5,FFFFFFF8
	rjmp	0000472E

l0000485E:
	mov	r12,r3
	sub	sp,FFFFFF80
	popm	r0-r3,r4-r7,pc

;; fn00004864: 00004864
;;   Called from:
;;     000049BC (in fn00004968)
;;     00004A48 (in fn00004968)
;;     00004AC4 (in fn00004968)
;;     00004B12 (in fn00004968)
;;     00004B90 (in fn00004968)
fn00004864 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,0000028C
	lddpc	r6,pc[252]
	rsub	r6,pc
	ld.w	r5,r6[8]
	mov	r8,00000000
	ld.ub	r9,r5[98]
	mov	r7,r12
	mov	r4,r11
	cp.b	r9,r8
	breq	000048A6

l00004880:
	ld.d	r11:r10,r12[96]
	mov	r12,sp
	rcall	0000B7D4
	ld.w	r8,r5[-20]
	mov	r9,r12
	cp.w	r8,00000004
	brne	00004896

l00004892:
	mov	r8,00000000
	rjmp	00004898

l00004896:
	ld.w	r8,r5[32]

l00004898:
	ld.w	r12,r6[184]
	st.w	--sp,r9
	st.w	--sp,r8
	mcall	r6[88]
	sub	sp,FFFFFFF8

l000048A6:
	ld.w	r5,r6[8]
	mov	r8,00000000
	ld.ub	r9,r5[114]
	cp.b	r9,r8
	breq	000048EC

l000048B4:
	ld.d	r3:r2,r5[120]
	mov	r12,sp
	ld.d	r11:r10,r7[64]
	ld.w	r9,r5[-12]
	st.d	--sp,r3:r2
	mov	r2,00000200
	mov	r3,00000000
	st.d	--sp,r3:r2
	rcall	000093B8
	sub	sp,FFFFFFF0
	ld.w	r8,r5[-20]
	mov	r9,r12
	cp.w	r8,00000004
	brne	000048DC

l000048D8:
	mov	r8,00000000
	rjmp	000048DE

l000048DC:
	ld.w	r8,r5[36]

l000048DE:
	ld.w	r12,r6[184]
	st.w	--sp,r9
	st.w	--sp,r8
	mcall	r6[88]
	sub	sp,FFFFFFF8

l000048EC:
	ld.w	r10,r6[8]
	mov	r8,00000000
	ld.ub	r9,r10[112]
	cp.b	r9,r8
	breq	00004916

l000048FA:
	ld.w	r8,r10[-20]
	ld.w	r9,r7[-16]
	cp.w	r8,00000004
	brne	00004906

l00004902:
	mov	r8,00000000
	rjmp	00004908

l00004906:
	ld.w	r8,r10[56]

l00004908:
	ld.w	r12,r6[184]
	st.w	--sp,r9
	st.w	--sp,r8
	mcall	r6[88]
	sub	sp,FFFFFFF8

l00004916:
	ld.w	r8,r6[8]
	ld.ub	r10,r7[117]
	ld.ub	r8,r8[104]
	ld.w	r5,r7[28]
	ld.w	lr,r7[-24]
	and	r8,r10
	ld.ub	r9,r7[116]
	breq	00004930

l0000492C:
	ld.w	r11,r7[-20]
	rjmp	00004932

l00004930:
	ld.w	r11,r7[24]

l00004932:
	ld.w	r12,r7[0]
	mov	r8,lr
	mov	lr,00000000
	st.w	--sp,r4
	st.w	--sp,r5
	st.w	--sp,lr
	rcall	000045F0
	sub	sp,FFFFFFF4
	ld.w	r8,r6[8]
	ld.w	r8,r8[24]
	mov	r3,r12
	cp.w	r8,00000000
	breq	0000495C

l0000494C:
	ld.ub	r12,r7[116]
	ld.w	r10,r7[-24]
	ld.w	r11,r7[24]
	rcall	00002DB4
	castu.b	r12
	add	r3,r12

l0000495C:
	mov	r12,r3
	sub	sp,FFFFFD74
	popm	r0-r3,r4-r7,pc
00004964             FF FE F8 7C                             ...|       

;; fn00004968: 00004968
;;   Called from:
;;     000052E2 (in fn0000511C)
;;     00005512 (in fn0000511C)
fn00004968 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,000014F4
	lddpc	r6,pc[288]
	rsub	r6,pc
	ld.w	r8,r6[8]
	mov	r10,00000000
	mov	r11,00000000
	ld.w	r9,r8[-20]
	st.d	sp[0],r11:r10
	cp.w	r9,00000004
	brhi	00005114

l00004984:
	mov	r7,r8
	sub	r8,pc,FFFFFFF6
	add	pc,r8,r9<<2
0000498E                                           D7 03               ..

l00004990:
	br	000049A4

l00004994:
	br	000049B0

l00004998:
	br	000049E6

l0000499C:
	br	00004A90

l000049A0:
	br	000049AA

l000049A4:
	mov	r0,00000000
	br	0000510A

l000049AA:
	mov	r4,00000000
	mov	r5,r4
	rjmp	00004B96

l000049B0:
	mov	r7,00000000
	rjmp	000049DA

l000049B4:
	ld.w	r8,r9[16]
	mov	r11,00000000
	ld.w	r12,r8[r7<<2]
	rcall	00004864
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	000049D2

l000049CA:
	mov	r8,0000000A
	st.b	r9++,r8
	st.w	r11[16],r9
	rjmp	000049D8

l000049D2:
	mov	r12,0000000A
	mcall	r6[52]

l000049D8:
	sub	r7,FFFFFFFF

l000049DA:
	ld.w	r9,r6[8]
	ld.w	r8,r9[12]
	cp.w	r7,r8
	brcs	000049B4

l000049E2:
	br	00005114

l000049E6:
	mov	r12,00000001
	rcall	00004458
	ld.w	r9,r7[12]
	ld.w	r10,r7[344]
	divu	r8,r9,r12
	add	r12,r12,r12<<1
	add	r12,r10,r12<<2
	mov	r10,00000000
	stdsp	sp[12],r10
	sub	r12,0000000C
	stdsp	sp[16],r12
	cp.w	r9,00000000
	srne	r10
	add	r0,r10,r8
	rjmp	00004A82

l00004A10:
	lddsp	r4,sp[12]
	lddsp	r7,sp[12]
	mov	r2,00000000
	lsl	r9,r0,00000002
	lsl	r4,+00000002
	stdsp	sp[32],r9
	stdsp	sp[36],r2

l00004A20:
	ld.w	r3,r6[8]
	add	r7,r0
	ld.w	r8,r3[16]
	ld.w	r5,r8[r4]
	lddsp	r8,sp[32]
	mov	r12,r5
	add	r4,r8
	rcall	00004374
	lddsp	r11,sp[16]
	lddsp	r10,sp[36]
	stdsp	sp[8],r12
	ld.w	r8,r11[8]
	mov	r12,r5
	ld.w	r1,r8[r10]
	mov	r11,r2
	sub	r10,FFFFFFFC
	stdsp	sp[36],r10
	rcall	00004864
	ld.w	r8,r3[12]
	cp.w	r7,r8
	brcc	00004A62

l00004A50:
	lddsp	r12,sp[8]
	add	r5,r1,r2
	add	r12,r2
	mov	r11,r5
	rcall	00002D38
	mov	r2,r5
	rjmp	00004A20

l00004A62:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00004A76

l00004A6E:
	mov	r8,0000000A
	st.b	r9++,r8
	st.w	r11[16],r9
	rjmp	00004A7C

l00004A76:
	mov	r12,0000000A
	mcall	r6[52]

l00004A7C:
	lddsp	r9,sp[12]
	sub	r9,FFFFFFFF
	stdsp	sp[12],r9

l00004A82:
	lddsp	r8,sp[12]
	cp.w	r8,r0
	brne	00004A10

l00004A88:
	br	00005114
00004A8C                                     FF FE F9 80             ....

l00004A90:
	mov	r12,00000000
	rcall	00004458
	mov	r0,00000001
	ld.w	r8,r7[16]
	ld.w	r9,r7[344]
	ld.w	r5,r8[0]
	add	r8,r12,r12<<1
	add	r8,r9,r8<<2
	sub	r8,0000000C
	mov	r1,r12
	mov	r12,r5
	stdsp	sp[24],r8
	rcall	00004374
	lddsp	r11,sp[24]
	mov	r10,00000000
	ld.w	r8,r11[8]
	stdsp	sp[28],r10
	ld.w	r7,r8[0]
	mov	r4,r12
	mov	r11,r10
	mov	r12,r5
	rcall	00004864
	rjmp	00004B26

l00004AC8:
	divu	r2,r0,r1
	stdsp	sp[20],r3
	cp.w	r3,00000000
	brne	00004AF2

l00004AD2:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00004AE8

l00004ADE:
	stdsp	sp[28],r3
	mov	r8,0000000A
	st.b	r9++,r8
	st.w	r11[16],r9
	rjmp	00004B04

l00004AE8:
	mov	r12,0000000A
	mcall	r6[52]
	stdsp	sp[28],r3
	rjmp	00004B04

l00004AF2:
	lddsp	r9,sp[28]
	add	r5,r7,r9
	add	r12,r4,r9
	mov	r11,r5
	rcall	00002D38
	stdsp	sp[28],r5

l00004B04:
	ld.w	r8,r6[8]
	lddsp	r11,sp[28]
	ld.w	r8,r8[16]
	ld.w	r5,r8[r0<<2]
	sub	r0,FFFFFFFF
	mov	r12,r5
	rcall	00004864
	mov	r12,r5
	rcall	00004374
	lddsp	r11,sp[24]
	lddsp	r10,sp[20]
	ld.w	r8,r11[8]
	mov	r4,r12
	ld.w	r7,r8[r10<<2]

l00004B26:
	ld.w	r8,r6[8]
	ld.w	r8,r8[12]
	cp.w	r0,r8
	brcs	00004AC8

l00004B2E:
	rjmp	00004B9E

l00004B30:
	ld.w	r8,r7[16]
	ld.w	r3,r8[r4<<2]
	mov	r12,r3
	rcall	00004374
	mov	r2,r12
	cp.w	r4,00000000
	breq	00004B8C

l00004B42:
	ld.w	r8,r6[-64]
	sub	r5,FFFFFFFE
	ld.w	r11,r8[0]
	ld.w	r9,r7[348]
	ld.w	r12,r11[16]
	ld.w	r10,r11[28]
	add	r8,r5,r2
	cp.w	r8,r9
	movcs	r7,00000020

l00004B5A:
	movcc	r7,0000000A

l00004B5E:
	movcc	r5,00000000

l00004B62:
	cp.w	r12,r10
	brcc	00004B6E

l00004B66:
	mov	r8,0000002C
	st.b	r12++,r8
	st.w	r11[16],r12
	rjmp	00004B74

l00004B6E:
	mov	r12,0000002C
	mcall	r6[52]

l00004B74:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00004B86

l00004B80:
	st.b	r9++,r7
	st.w	r11[16],r9
	rjmp	00004B8C

l00004B86:
	mov	r12,r7
	mcall	r6[52]

l00004B8C:
	mov	r11,r5
	mov	r12,r3
	rcall	00004864
	add	r5,r2
	sub	r4,FFFFFFFF

l00004B96:
	ld.w	r7,r6[8]
	ld.w	r8,r7[12]
	cp.w	r4,r8
	brcs	00004B30

l00004B9E:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00004BB4

l00004BAA:
	mov	r8,0000000A
	st.b	r9++,r8
	st.w	r11[16],r9
	br	00005114

l00004BB4:
	mov	r12,0000000A
	mcall	r6[52]
	br	00005114
00004BBE                                           D7 03               ..

l00004BC0:
	ld.w	r8,r9[16]
	ld.w	r7,r8[r0<<2]
	ld.ub	r5,r7[116]
	cp.w	r5,00000000
	breq	00004BDC

l00004BCE:
	sub	r11,sp,FFFFEB24
	sub	r12,r7,FFFFFFF8
	rcall	00007130
	rjmp	00004BFC

l00004BDC:
	ld.w	r8,r7[-24]
	sub	r9,pc,FFFFE632
	mov	r10,0000000A
	add	r8,r9
	ld.ub	r8,r8[64]
	mov	r11,0000003F
	sub	r12,sp,FFFFEB23
	st.b	sp[5340],r8
	mcall	r6[44]
	st.b	sp[5351],r5

l00004BFC:
	ld.w	r8,r6[8]
	ld.ub	r8,r8[28]
	cp.w	r8,00000000
	breq	00004C16

l00004C06:
	ld.w	r8,r7[-8]
	cp.w	r8,00000001
	brne	00004C10

l00004C0C:
	mov	r8,0000002E
	rjmp	00004C16

l00004C10:
	cp.w	r8,00000002
	brne	00004C1A

l00004C14:
	mov	r8,0000002B

l00004C16:
	st.b	sp[5350],r8

l00004C1A:
	ld.w	r8,r6[8]
	ld.w	r8,r8[316]
	cp.w	r8,00000000
	breq	00004C34

l00004C24:
	cp.w	r8,00000001
	breq	00004C2E

l00004C28:
	cp.w	r8,00000002
	brne	00004C40

l00004C2C:
	rjmp	00004C3A

l00004C2E:
	ld.w	r9,r7[-40]
	ld.w	r8,r7[-36]
	rjmp	00004C44

l00004C34:
	ld.w	r9,r7[-48]
	ld.w	r8,r7[-44]
	rjmp	00004C44

l00004C3A:
	ld.w	r9,r7[-56]
	ld.w	r8,r7[-52]
	rjmp	00004C44

l00004C40:
	mcall	r6[76]

l00004C44:
	st.w	sp[5356],r8
	ld.w	r8,r6[8]
	st.w	sp[5352],r9
	ld.ub	r9,r8[98]
	mov	r8,00000000
	cp.b	r9,r8
	brne	00004C60

l00004C5A:
	sub	r4,sp,FFFFFFD8
	rjmp	00004C9C

l00004C60:
	ld.d	r11:r10,r7[96]
	cp.w	r10,00000000
	cpc	r11
	brne	00004C70

l00004C6A:
	ld.w	r9,r6[140]
	rjmp	00004C7A

l00004C70:
	sub	r12,sp,FFFFF19C
	rcall	0000B7D4
	mov	r9,r12

l00004C7A:
	ld.w	r8,r6[8]
	sub	r5,sp,FFFFFFD8
	ld.w	r11,r6[184]
	ld.w	r8,r8[32]
	mov	r12,r5
	st.w	--sp,r9
	st.w	--sp,r8
	mcall	r6[100]
	mov	r12,r5
	mcall	r6[16]
	sub	sp,FFFFFFF8
	add	r4,r5,r12

l00004C9C:
	ld.w	lr,r6[8]
	mov	r9,00000000
	ld.ub	r8,lr[114]
	cp.b	r8,r9
	breq	00004D02

l00004CAA:
	ld.ub	r8,r7[116]
	cp.b	r8,r9
	brne	00004CBA

l00004CB4:
	ld.w	r12,r6[140]
	rjmp	00004CD8

l00004CBA:
	ld.d	r9:r8,lr[120]
	st.d	--sp,r9:r8
	mov	r8,00000200
	mov	r9,00000000
	sub	r12,sp,FFFFEDA8
	st.d	--sp,r9:r8
	ld.d	r11:r10,r7[64]
	ld.w	r9,lr[-12]
	rcall	000093B8
	sub	sp,FFFFFFF0

l00004CD8:
	ld.w	r8,r6[8]
	mov	r11,00000000
	ld.w	r5,r8[36]
	mov	r3,r12
	rcall	00006AA8
	sub	r5,r12
	rjmp	00004CEE

l00004CE8:
	mov	r8,00000020
	sub	r5,00000001
	st.b	r4++,r8

l00004CEE:
	cp.w	r5,00000000
	brgt	00004CE8

l00004CF4:
	ld.ub	r8,r3++
	st.b	r4++,r8
	cp.w	r8,00000000
	brne	00004CF4

l00004CFC:
	mov	r8,00000020
	st.b	r4[-1],r8

l00004D02:
	ld.ub	r9,r7[116]
	mov	r8,00000000
	cp.b	r9,r8
	brne	00004D14

l00004D0E:
	ld.w	r9,r6[140]
	rjmp	00004D22

l00004D14:
	ld.w	r10,r7[28]
	mov	r11,00000000
	sub	r12,sp,FFFFF19C
	rcall	0000B7D4
	mov	r9,r12

l00004D22:
	ld.w	r3,r6[8]
	ld.w	r11,r6[1132]
	ld.w	r8,r3[40]
	mov	r12,r4
	st.w	--sp,r9
	st.w	--sp,r8
	sub	r8,sp,FFFFEB1C
	st.w	--sp,r8
	mcall	r6[100]
	mov	r1,00000000
	mov	r12,r4
	mcall	r6[16]
	sub	sp,FFFFFFF4
	ld.ub	r8,r3[356]
	add	r4,r12
	cp.b	r8,r1
	breq	00004D64

l00004D50:
	ld.w	r8,r6[40]
	ld.w	r12,r6[268]
	ld.w	r11,r8[0]
	mcall	r6[20]
	ld.w	r8,r3[-52]
	sub	r8,FFFFFFFE
	st.w	r3[76],r8

l00004D64:
	ld.w	r2,r6[48]
	ld.ub	r11,r3[128]
	ld.ub	r8,r2[3]
	ld.ub	r9,r2[2]
	ld.ub	r10,r3[112]
	or	r8,r9
	or	r8,r11
	or	r8,r10
	breq	00004E14

l00004D7A:
	ld.w	r8,r6[40]
	sub	r5,sp,FFFFFFD8
	ld.w	r11,r8[0]
	mov	r12,r5
	mcall	r6[20]
	sub	r5,r4,r5
	ld.ub	r9,r2[2]
	ld.w	r8,r3[-52]
	add	r5,r8
	st.w	r3[76],r5
	cp.b	r9,r1
	breq	00004DA8

l00004D9C:
	ld.ub	r10,r7[116]
	ld.w	r11,r3[44]
	ld.w	r12,r7[32]
	rcall	00003904

l00004DA8:
	ld.ub	r8,r2[3]
	cp.b	r8,r1
	breq	00004DE0

l00004DB0:
	ld.ub	r8,r7[116]
	ld.w	r4,r3[48]
	ld.w	r5,r7[36]
	cp.b	r8,r1
	brne	00004DC4

l00004DBE:
	ld.w	r12,r6[140]
	rjmp	00004DD8

l00004DC4:
	ld.ub	r8,r3[88]
	cp.b	r8,r1
	breq	00004DD2

l00004DCE:
	mov	r12,00000000
	rjmp	00004DD8

l00004DD2:
	mov	r12,r5
	rcall	00009A5C

l00004DD8:
	mov	r10,r4
	mov	r11,r5
	rcall	00003198

l00004DE0:
	ld.w	r3,r6[8]
	mov	r4,00000000
	ld.ub	r8,r3[128]
	cp.b	r8,r4
	breq	00004DFA

l00004DEE:
	ld.ub	r10,r7[116]
	ld.w	r11,r3[52]
	ld.w	r12,r7[32]
	rcall	00003904

l00004DFA:
	ld.ub	r8,r3[112]
	sub	r5,sp,FFFFFFD8
	cp.b	r8,r4
	breq	00004E12

l00004E08:
	ld.w	r10,r3[56]
	ld.w	r12,r7[-16]
	mov	r11,00000000
	rcall	00003198

l00004E12:
	mov	r4,r5

l00004E14:
	ld.ub	r9,r7[116]
	mov	r8,00000000
	cp.b	r9,r8
	brne	00004E28

l00004E20:
	ld.w	r12,r6[140]
	rjmp	00004EBE
00004E26                   D7 03                               ..       

l00004E28:
	ld.w	r8,r7[24]
	andl	r8,F000,COH
	cp.w	r8,00002000
	breq	00004E3A

l00004E34:
	cp.w	r8,00006000
	brne	00004E9E

l00004E3A:
	ld.w	r3,r6[8]
	ld.d	r11:r10,r7[40]
	ld.w	r5,r3[-60]
	ld.w	r9,r3[-64]
	ld.w	r8,r3[60]
	sub	r5,00000002
	sub	r5,r9
	sub	r5,r8
	rcall	0000272E
	mov	r11,00000000
	mov	r10,r12
	sub	r12,sp,FFFFEDB0
	rcall	0000B7D4
	ld.w	r1,r3[-64]
	ld.d	r11:r10,r7[40]
	mov	r2,r12
	rcall	00002718
	mov	r11,00000000
	mov	r10,r12
	sub	r12,sp,FFFFF19C
	rcall	0000B7D4
	ld.w	r9,r3[60]
	mov	r8,00000000
	max	r5,r5,r8
	ld.w	r11,r6[1128]
	st.w	--sp,r2
	add	r5,r9
	st.w	--sp,r1
	st.w	--sp,r12
	mov	r12,r4
	st.w	--sp,r5
	mcall	r6[100]
	sub	sp,FFFFFFF0
	ld.w	r8,r3[-60]
	add	r8,r4,r8
	sub	r4,r8,FFFFFFFF
	rjmp	00004EE8

l00004E9E:
	ld.w	r8,r6[48]
	ld.d	r9:r8,r8[4]
	st.d	--sp,r9:r8
	mov	r8,00000001
	mov	r9,00000000
	sub	r12,sp,FFFFEDA8
	st.d	--sp,r9:r8
	ld.w	r8,r6[8]
	ld.d	r11:r10,r7[52]
	ld.w	r9,r8[-12]
	rcall	000093B8
	sub	sp,FFFFFFF0

l00004EBE:
	ld.w	r8,r6[8]
	mov	r11,00000000
	ld.w	r5,r8[-60]
	mov	r3,r12
	rcall	00006AA8
	sub	r5,r12
	rjmp	00004ED4

l00004ECE:
	mov	r8,00000020
	sub	r5,00000001
	st.b	r4++,r8

l00004ED4:
	cp.w	r5,00000000
	brgt	00004ECE

l00004EDA:
	ld.ub	r8,r3++
	st.b	r4++,r8
	cp.w	r8,00000000
	brne	00004EDA

l00004EE2:
	mov	r8,00000020
	st.b	r4[-1],r8

l00004EE8:
	sub	r12,sp,FFFFEB18
	rcall	00008A6C
	mov	r8,00000001
	st.b	r4[0],r8
	ld.ub	r9,r7[116]
	mov	r8,00000000
	mov	r1,r12
	cp.b	r9,r8
	breq	00004F80

l00004F02:
	cp.w	r12,00000000
	breq	00004F80

l00004F06:
	ld.w	r5,r6[8]
	ld.d	r9:r8,sp[5352]
	ld.d	r11:r10,r5[488]
	rcall	00002744
	brge	00004F1E

l00004F16:
	sub	r12,r5,FFFFFE18
	rcall	0000895C

l00004F1E:
	lddpc	r8,pc[40]
	ld.w	r9,r5[488]
	ld.d	r3:r2,sp[5352]
	add	r9,r8
	stdsp	sp[0],r9
	ld.w	r9,r5[492]
	stdsp	sp[4],r9
	ld.d	r11:r10,sp[0]
	mov	r8,r2
	mov	r9,r3
	rcall	00002744
	brlt	00004F48

l00004F40:
	mov	r12,00000000
	rjmp	00004F5C
00004F44             FF 0F 3D 54                             ..=T       

l00004F48:
	ld.d	r9:r8,r5[488]
	mov	r10,r2
	mov	r11,r3
	rcall	00002744
	com	r12
	lsr	r12,+0000001F
	eorl	r12,0001

l00004F5C:
	ld.w	r8,r6[-56]
	ld.w	lr,sp[5356]
	add	r8,r8,r12<<2
	ld.w	r10,r8[192]
	mov	r9,r1
	mov	r8,00000000
	mov	r11,000003E9
	mov	r12,r4
	st.w	--sp,lr
	rcall	0000B7B2
	sub	sp,FFFFFFFC
	cp.w	r12,00000000
	brne	00004F8C

l00004F80:
	ld.ub	r8,r4[0]
	mov	r9,00000000
	cp.b	r8,r9
	brne	00004F9C

l00004F8A:
	mov	r12,00000000

l00004F8C:
	add	r8,r4,r12
	mov	r9,00000020
	st.b	r8++,r9
	mov	r3,r8
	mov	r8,00000000
	st.b	r3[0],r8
	rjmp	0000502C

l00004F9C:
	ld.ub	r8,r7[116]
	cp.b	r8,r9
	brne	00004FAC

l00004FA6:
	ld.w	r1,r6[140]
	rjmp	00004FC0

l00004FAC:
	ld.w	r8,sp[5352]
	sub	r12,sp,FFFFEDB0
	mov	r10,r8
	asr	r11,r8,0000001F
	rcall	00009BC8
	mov	r1,r12

l00004FC0:
	ld.w	r2,r6[48]
	ld.w	r8,r2[12]
	cp.w	r8,00000000
	brge	0000500E

l00004FC8:
	sub	r12,sp,FFFFEB0C
	mov	r5,00000000
	st.w	--r12,r5
	rcall	00008A6C
	breq	00005002

l00004FD6:
	ld.w	r8,r6[-56]
	sub	r3,sp,FFFFF19C
	ld.w	r10,r8[192]
	mov	r9,r12
	mov	r8,r5
	mov	r11,000003E9
	mov	r12,r3
	st.w	--sp,r5
	rcall	0000B7B2
	sub	sp,FFFFFFFC
	cp.w	r12,00000000
	breq	00005002

l00004FF6:
	mov	r11,r12
	mov	r10,r5
	mov	r12,r3
	rcall	00006998
	st.w	r2[12],r12

l00005002:
	ld.w	r9,r6[48]
	ld.w	r8,r9[12]
	cp.w	r8,00000000
	brge	0000500E

l0000500A:
	mov	r8,00000000
	st.w	r9[12],r8

l0000500E:
	ld.w	r8,r6[48]
	ld.w	r11,r6[184]
	ld.w	r8,r8[12]
	mov	r12,r4
	st.w	--sp,r1
	st.w	--sp,r8
	mcall	r6[100]
	mov	r12,r4
	mcall	r6[16]
	sub	sp,FFFFFFF8
	add	r3,r4,r12

l0000502C:
	ld.w	r8,r6[40]
	sub	r5,sp,FFFFFFD8
	ld.w	r11,r8[0]
	mov	r12,r5
	mcall	r6[20]
	sub	r5,r3,r5
	ld.w	r9,r6[8]
	ld.w	r8,r9[-52]
	ld.ub	r10,r9[104]
	add	r8,r5,r8
	st.w	r9[76],r8
	ld.ub	lr,r7[117]
	ld.w	r12,r7[28]
	ld.w	r3,r7[-24]
	and	r10,lr
	ld.ub	r9,r7[116]
	breq	00005064

l0000505E:
	ld.w	r11,r7[-20]
	rjmp	00005066
00005062       D7 03                                       ..           

l00005064:
	ld.w	r11,r7[24]

l00005066:
	ld.w	r4,r6[8]
	st.w	--sp,r5
	sub	r8,r4,FFFFFE10
	st.w	--sp,r12
	st.w	--sp,r8
	ld.w	r12,r7[0]
	mov	r8,r3
	mov	r10,lr
	rcall	000045F0
	sub	sp,FFFFFFF4
	ld.w	r10,r7[-24]
	mov	r3,r12
	cp.w	r10,00000006
	brne	000050D4

l00005086:
	ld.w	r8,r7[4]
	cp.w	r8,00000000
	breq	000050E4

l0000508C:
	ld.w	r8,r6[40]
	ld.w	r12,r6[1124]
	ld.w	r11,r8[0]
	mov	r2,00000000
	mcall	r6[20]
	ld.w	r8,r4[-52]
	sub	r9,r5,FFFFFFFC
	sub	r8,FFFFFFFC
	st.w	r4[76],r8
	add	r9,r3
	ld.ub	r10,r7[117]
	st.w	--sp,r9
	ld.w	r8,r7[28]
	st.w	--sp,r8
	st.w	--sp,r2
	ld.ub	r9,r7[116]
	ld.w	r8,r7[-24]
	ld.w	r11,r7[-20]
	ld.w	r12,r7[4]
	sub	r10,00000001
	rcall	000045F0
	sub	sp,FFFFFFF4
	ld.w	r8,r4[24]
	cp.w	r8,00000000
	breq	000050E4

l000050CC:
	ld.w	r11,r7[-20]
	mov	r10,r2
	mov	r12,00000001
	rjmp	000050E0

l000050D4:
	ld.w	r8,r4[24]
	cp.w	r8,00000000
	breq	000050E4

l000050DA:
	ld.ub	r12,r7[116]
	ld.w	r11,r7[24]

l000050E0:
	rcall	00002DB4

l000050E4:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	000050F8

l000050F0:
	mov	r8,0000000A
	st.b	r9++,r8
	st.w	r11[16],r9
	rjmp	000050FE

l000050F8:
	mov	r12,0000000A
	mcall	r6[52]

l000050FE:
	ld.w	r9,r6[8]
	sub	r0,FFFFFFFF
	ld.w	r8,r9[-52]
	sub	r8,FFFFFFFF
	st.w	r9[76],r8

l0000510A:
	ld.w	r9,r6[8]
	ld.w	r8,r9[12]
	cp.w	r0,r8
	brcs	00004BC0

l00005114:
	sub	sp,FFFFEB0C
	popm	r0-r3,r4-r7,pc
0000511A                               D7 03                       ..   

;; fn0000511C: 0000511C
fn0000511C proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,000002A0
	lddpc	r6,pc[196]
	rsub	r6,pc
	stdsp	sp[4],r11
	stdsp	sp[0],r10
	stdsp	sp[8],r12
	mcall	r6[28]
	mov	r8,00000000
	stdsp	sp[12],r12
	st.w	r12[0],r8
	lddsp	r12,sp[8]
	mcall	r6[468]
	stdsp	sp[16],r12
	brne	00005150

l00005140:
	ld.w	r11,r6[1120]
	lddsp	r10,sp[8]
	lddsp	r12,sp[0]
	rcall	00003168
	br	0000556E

l00005150:
	ld.w	r8,r6[8]
	ld.w	r8,r8[324]
	cp.w	r8,00000000
	breq	0000521E

l0000515A:
	mcall	r6[504]
	sub	r11,sp,FFFFFFEC
	cp.w	r12,00000000
	brlt	0000516C

l00005166:
	mcall	r6[524]
	rjmp	00005172

l0000516C:
	lddsp	r12,sp[8]
	mcall	r6[208]

l00005172:
	lsr	r4,r12,0000001F
	breq	0000518E

l00005178:
	lddsp	r12,sp[0]
	ld.w	r11,r6[1116]
	lddsp	r10,sp[8]
	rcall	00003168
	lddsp	r12,sp[16]
	mcall	r6[232]
	br	0000556E

l0000518E:
	mov	r12,00000010
	ld.d	r3:r2,sp[108]
	ld.d	r1:r0,sp[20]
	rcall	0000B95C
	ld.w	r7,r6[8]
	mov	r5,r12
	st.d	r12[0],r3:r2
	mov	r11,r5
	st.d	r12[8],r1:r0
	ld.w	r12,r7[324]
	rcall	000090C0
	brne	000051B8

l000051B4:
	rcall	00006CAC

l000051B8:
	cp.w	r12,r5
	breq	000051E8

l000051BC:
	mov	r12,r5
	mcall	r6[12]
	lddsp	r12,sp[8]
	rcall	0000A778
	ld.w	r10,r6[1112]
	mov	r11,r4
	st.w	--sp,r12
	mov	r12,r4
	mcall	r6[68]
	lddsp	r12,sp[20]
	mcall	r6[232]
	sub	sp,FFFFFFFC
	br	0000556E
000051E2       D7 03 FF FF 01 34                           .....4       

l000051E8:
	ld.w	r8,r7[556]
	ld.w	r9,r7[552]
	sub	r8,r9
	cp.w	r8,0000000F
	brgt	00005202

l000051F8:
	mov	r11,00000010
	sub	r12,r7,FFFFFDE4
	mcall	r6[152]

l00005202:
	ld.w	r10,r7[552]
	sub	r8,r10,FFFFFFF0
	st.w	r7[552],r8
	ld.d	r9:r8,sp[20]
	st.d	r10[8],r9:r8
	ld.d	r9:r8,sp[108]
	st.d	r10[0],r9:r8

l0000521E:
	rcall	00002CBC
	ld.w	r3,r6[1108]
	mov	r0,00000000
	mov	r1,00000000

l0000522A:
	lddsp	r12,sp[16]
	lddsp	lr,sp[12]
	mov	r4,00000000
	st.w	lr[0],r4
	mcall	r6[488]
	mov	r7,r12
	breq	000052EC

l0000523A:
	ld.w	r11,r6[8]
	sub	r5,r12,FFFFFFED
	ld.w	r9,r11[584]
	cp.w	r9,00000002
	breq	00005284

l00005248:
	ld.ub	r10,r5[0]
	mov	r8,0000002E
	cp.b	r10,r8
	brne	00005272

l00005252:
	cp.w	r9,00000000
	breq	0000522A

l00005256:
	ld.ub	r8,r12[20]
	cp.b	r8,r10
	movne	r8,00000001

l00005262:
	moveq	r8,00000002

l00005266:
	ld.ub	r8,r5[r8]
	cp.b	r8,r4
	breq	0000522A

l00005270:
	rjmp	00005284

l00005272:
	cp.w	r9,00000000
	brne	00005284

l00005276:
	ld.w	r12,r11[588]
	mov	r11,r5
	rcall	00003BA4
	castu.b	r12
	brne	0000522A

l00005284:
	ld.w	r8,r6[8]
	mov	r11,r5
	ld.w	r12,r8[-48]
	rcall	00003BA4
	castu.b	r12
	brne	0000522A

l00005292:
	br	00005518

l00005296:
	mov	r11,00000000
	rjmp	000052B4

l0000529A:
	mov	r11,00000004
	rjmp	000052B4

l0000529E:
	mov	r11,00000002
	rjmp	000052B4

l000052A2:
	mov	r11,00000003
	rjmp	000052B4

l000052A6:
	mov	r11,00000001
	rjmp	000052B4

l000052AA:
	mov	r11,00000006
	rjmp	000052B4

l000052AE:
	mov	r11,00000005
	rjmp	000052B4

l000052B2:
	mov	r11,00000007

l000052B4:
	lddsp	lr,sp[8]
	mov	r8,00000000
	mov	r9,00000000
	sub	r12,r7,FFFFFFED
	mov	r10,00000000
	st.w	--sp,lr
	rcall	00003334
	sub	sp,FFFFFFFC
	ld.w	r9,r6[8]
	ld.w	r8,r9[-20]
	add	r0,r10
	adc	r1,r1,r11
	cp.w	r8,00000001
	brne	0000522A

l000052D6:
	ld.w	r8,r9[136]
	cp.w	r8,FFFFFFFF
	brne	0000522A

l000052DE:
	rcall	0000393C
	rcall	00004968
	rcall	00002CBC
	rjmp	0000522A

l000052EC:
	lddsp	r9,sp[12]
	ld.w	r8,r9[0]
	cp.w	r8,00000000
	breq	00005308

l000052F4:
	lddsp	r10,sp[8]
	lddsp	r12,sp[0]
	mov	r11,r3
	rcall	00003168
	lddsp	lr,sp[12]
	ld.w	r8,lr[0]
	cp.w	r8,0000004B
	breq	0000522A

l00005308:
	lddsp	r12,sp[16]
	mcall	r6[232]
	breq	0000531C

l00005310:
	ld.w	r11,r6[1104]
	lddsp	r10,sp[8]
	lddsp	r12,sp[0]
	rcall	00003168

l0000531C:
	rcall	0000393C
	ld.w	r5,r6[8]
	ld.ub	r8,r5[592]
	cp.b	r8,r7
	breq	00005334

l0000532C:
	lddsp	r11,sp[0]
	lddsp	r12,sp[8]
	rcall	00003A44

l00005334:
	ld.ub	r9,r5[592]
	ld.ub	r8,r5[593]
	or	r8,r9
	breq	00005442

l00005342:
	ld.w	r8,r6[48]
	ld.ub	r8,r8[16]
	cp.b	r8,r7
	brne	00005374

l0000534E:
	ld.w	r8,r6[-64]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00005364

l0000535A:
	mov	r8,0000000A
	st.b	r9++,r8
	st.w	r11[16],r9
	rjmp	0000536A
00005362       D7 03                                       ..           

l00005364:
	mov	r12,0000000A
	mcall	r6[52]

l0000536A:
	ld.w	r9,r6[8]
	ld.w	r8,r9[-52]
	sub	r8,FFFFFFFF
	st.w	r9[76],r8

l00005374:
	ld.w	r5,r6[8]
	ld.w	r8,r6[48]
	ld.ub	r9,r5[356]
	mov	r3,00000000
	st.b	r8[16],r3
	cp.b	r9,r3
	breq	0000539C

l00005388:
	ld.w	r8,r6[40]
	ld.w	r12,r6[268]
	ld.w	r11,r8[0]
	mcall	r6[20]
	ld.w	r8,r5[-52]
	sub	r8,FFFFFFFE
	st.w	r5[76],r8

l0000539C:
	ld.ub	r8,r5[356]
	cp.b	r8,r3
	breq	000053D2

l000053A6:
	ld.w	r8,r5[608]
	ld.w	r9,r5[612]
	sub	r8,FFFFFFFC
	cp.w	r8,r9
	brls	000053C0

l000053B6:
	mov	r11,00000004
	sub	r12,r5,FFFFFDAC
	mcall	r6[152]

l000053C0:
	ld.w	r9,r5[608]
	ld.w	r8,r5[-52]
	st.w	r9[0],r8
	ld.w	r8,r5[608]
	sub	r8,FFFFFFFC
	st.w	r5[608],r8

l000053D2:
	ld.w	r3,r6[8]
	ld.w	r8,r6[40]
	lddsp	r9,sp[8]
	lddsp	r11,sp[4]
	ld.w	r12,r8[0]
	ld.w	r10,r3[640]
	cp.w	r11,00000000
	moveq	r11,r9

l000053E6:
	mov	r9,00000000
	ld.w	r5,r3[-52]
	rcall	0000418C
	ld.ub	r9,r3[356]
	mov	r8,00000000
	add	r12,r5
	st.w	r3[76],r12
	cp.b	r9,r8
	breq	0000542C

l00005400:
	ld.w	r8,r3[608]
	ld.w	r9,r3[612]
	sub	r8,FFFFFFFC
	cp.w	r8,r9
	brls	0000541A

l00005410:
	mov	r11,00000004
	sub	r12,r3,FFFFFDAC
	mcall	r6[152]

l0000541A:
	ld.w	r9,r3[608]
	ld.w	r8,r3[-52]
	st.w	r9[0],r8
	ld.w	r8,r3[608]
	sub	r8,FFFFFFFC
	st.w	r3[608],r8

l0000542C:
	ld.w	r8,r6[40]
	ld.w	r12,r6[1100]
	ld.w	r11,r8[0]
	mcall	r6[20]
	ld.w	r9,r6[8]
	ld.w	r8,r9[-52]
	sub	r8,FFFFFFFE
	st.w	r9[76],r8

l00005442:
	ld.w	r5,r6[8]
	ld.w	r8,r5[-20]
	cp.w	r8,00000000
	breq	00005456

l0000544A:
	ld.ub	r9,r5[114]
	mov	r8,00000000
	cp.b	r9,r8
	breq	0000550A

l00005456:
	ld.ub	r9,r5[356]
	mov	r8,00000000
	cp.b	r9,r8
	breq	00005476

l00005462:
	ld.w	r8,r6[40]
	ld.w	r12,r6[268]
	ld.w	r11,r8[0]
	mcall	r6[20]
	ld.w	r8,r5[-52]
	sub	r8,FFFFFFFE
	st.w	r5[76],r8

l00005476:
	ld.w	r8,r6[40]
	ld.w	r12,r6[1096]
	ld.w	r11,r8[0]
	mcall	r6[20]
	ld.w	r9,r6[-64]
	ld.w	r8,r5[-52]
	ld.w	r11,r9[0]
	sub	r8,FFFFFFFB
	st.w	r5[76],r8
	ld.w	r10,r11[16]
	ld.w	r8,r11[28]
	cp.w	r10,r8
	brcc	000054A0

l00005496:
	rjmp	00005498

l00005498:
	mov	r8,00000020
	st.b	r10++,r8
	st.w	r11[16],r10
	rjmp	000054A6

l000054A0:
	mov	r12,00000020
	mcall	r6[52]

l000054A6:
	ld.w	r5,r6[8]
	sub	r12,sp,FFFFFFEC
	ld.w	r8,r5[-52]
	ld.d	r3:r2,r5[120]
	sub	r8,FFFFFFFF
	ld.w	r9,r5[-12]
	st.d	--sp,r3:r2
	mov	r10,r0
	st.w	r5[76],r8
	mov	r11,r1
	mov	r3,00000000
	mov	r2,00000200
	st.d	--sp,r3:r2
	rcall	000093B8
	ld.w	r8,r6[40]
	ld.w	r11,r8[0]
	mov	r3,r12
	mcall	r6[20]
	mov	r12,r3
	mcall	r6[16]
	sub	sp,FFFFFFF0
	ld.w	r8,r6[-64]
	ld.w	r9,r5[-52]
	ld.w	r11,r8[0]
	add	r12,r9
	st.w	r5[76],r12
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	000054FA

l000054F2:
	mov	r8,0000000A
	st.b	r9++,r8
	st.w	r11[16],r9
	rjmp	00005500

l000054FA:
	mov	r12,0000000A
	mcall	r6[52]

l00005500:
	ld.w	r9,r6[8]
	ld.w	r8,r9[-52]
	sub	r8,FFFFFFFF
	st.w	r9[76],r8

l0000550A:
	ld.w	r8,r6[8]
	ld.w	r8,r8[12]
	cp.w	r8,00000000
	breq	0000556E

l00005512:
	rcall	00004968
	rjmp	0000556E

l00005518:
	ld.ub	r8,r7[18]
	sub	r9,r8,00000001
	cp.w	r9,0000000D
	brhi	00005296

l00005526:
	sub	r8,pc,FFFFFFF6
	add	pc,r8,r9<<2
0000552E                                           D7 03               ..

l00005530:
	br	000052A6

l00005534:
	br	0000529E

l00005538:
	br	00005296

l0000553C:
	br	000052A2

l00005540:
	br	00005296

l00005544:
	br	0000529A

l00005548:
	br	00005296

l0000554C:
	br	000052AE

l00005550:
	br	00005296

l00005554:
	br	000052AA

l00005558:
	br	00005296

l0000555C:
	br	000052B2

l00005560:
	br	00005296

l00005564:
	br	00005568

l00005568:
	mov	r11,00000008
	br	000052B4

l0000556E:
	sub	sp,FFFFFD60
	popm	r0-r3,r4-r7,pc
00005574             D4 31 FA CD 00 98 4B F6 1E 26 50 0B     .1....K..&P.
00005580 18 90 76 0C 30 27 E0 A0 0A 9F 6C 23 EC FB 00 E0 ..v.0'....l#....
00005590 30 6C F0 16 00 49 EC F8 00 C0 FE CC E6 2A 91 07 0l...I.......*..
000055A0 F0 16 00 71 EC F8 01 50 30 09 70 05 30 18 E7 68 ...q...P0.p.0..h
000055B0 02 51 4B 28 E7 48 01 E8 3F F8 E7 48 01 EC 87 29 .QK(.H..?..H...)
000055C0 E7 49 00 54 E7 69 01 49 58 15 C1 20 0E 35 C0 40 .I.T.i.IX.. .5.@
000055D0 58 35 C1 C1 C0 68 12 9C 30 5B E7 45 00 6C C0 58 X5...h..0[.E.l.X
000055E0 12 9C 30 5B E7 49 00 6C E0 A0 23 EC C1 18 0A 9C ..0[.I.l..#.....
000055F0 F0 16 00 3D C0 60 E7 65 01 49 E7 47 00 6C C0 88 ...=.`.e.I.G.l..
00005600 E7 6C 01 49 E7 45 00 6C C0 38 F0 16 00 13 6C 28 .l.I.E.l.8....l(
00005610 EC FC 04 44 30 05 30 19 F1 49 00 64 F1 65 00 70 ...D0.0..I.d.e.p
00005620 F1 45 01 3C F1 45 00 88 F1 65 01 41 F1 65 00 58 .E.<.E...e.A.e.X
00005630 F1 65 00 72 91 65 F1 65 00 62 F1 65 02 50 F1 65 .e.r.e.e.b.e.P.e
00005640 00 71 F1 45 02 48 F1 45 00 50 F1 45 02 4C F0 16 .q.E.H.E.P.E.L..
00005650 00 0E 18 97 C1 F0 FE C3 AD 0E EC FB 00 EC 30 49 ..............0I
00005660 06 9A E0 A0 0B BD C0 B5 E6 0C 03 2B 0A 9C E0 A0 ...........+....
00005670 23 A9 C1 08 FF FF 05 8C 80 00 00 00 0E 9C E0 A0 #...............
00005680 28 DF EC FA 04 40 0A 9B 1A DC 0A 9C F0 16 00 11 (....@..........
00005690 2F FD EC FC 04 3C F0 16 00 0E 6C 2B F6 C7 FF 88 /....<....l+....
000056A0 18 95 28 CB 0E 9A E0 A0 1E 19 58 05 C0 61 EC FC ..(.......X..a..
000056B0 04 38 F0 16 00 0E C0 60 EE E8 00 00 6C CA F4 E9 .8.....`....l...
000056C0 00 04 6C 27 EC FC 04 34 35 08 EF 48 01 5C F0 16 ..l'...45..H.\..
000056D0 00 0E 18 95 C1 F0 19 89 30 08 F0 09 18 00 C1 A0 ........0.......
000056E0 30 08 FA C9 FF 70 10 9A 10 9B E0 A0 31 D1 C0 71 0....p......1..q
000056F0 42 48 58 08 C0 40 EF 48 01 5C C0 C8 0A 9C E0 A0 BHX..@.H.\......
00005700 28 9F EC FA 04 30 30 0B 1A DC 16 9C F0 16 00 11 (....00.........
00005710 2F FD FA C8 FF FC E0 6B 54 13 30 1C 1A D8 F0 16 /......kT.0.....
00005720 00 94 2F FD 5B FC C0 70 9A B9 58 09 C0 40 6C 28 ../.[..p..X..@l(
00005730 F1 49 01 5C EC FC 04 2C 6C 25 F0 16 00 0E 30 88 .I.\...,l%....0.
00005740 EB 48 00 48 18 97 C1 80 30 08 FA C9 FF 70 10 9A .H.H....0....p..
00005750 10 9B E0 A0 31 9D C0 51 42 48 EB 48 00 48 C0 C8 ....1..QBH.H.H..
00005760 0E 9C E0 A0 28 6D EC FA 04 28 30 0B 1A DC 16 9C ....(m...(0.....
00005770 F0 16 00 11 2F FD 30 04 EC F2 04 24 EC F1 04 20 ..../.0....$... 
00005780 08 93 6D C9 EC FA 04 1C 40 0B 3F FE F2 C9 FF 20 ..m.....@.?.... 
00005790 FA C8 FF 70 00 9C 52 4E F0 16 00 8F 5B FC E0 80 ...p..RN....[...
000057A0 03 14 5B DC E0 80 02 E8 5B EC E0 80 02 E3 E0 4C ..[.....[......L
000057B0 00 31 E0 80 01 DF E0 4C 00 41 E0 80 01 76 E0 4C .1.....L.A...v.L
000057C0 00 42 E0 80 01 7D E0 4C 00 43 E0 80 01 80 E0 4C .B...}.L.C.....L
000057D0 00 44 E0 80 01 7E E0 4C 00 46 E0 80 01 80 E0 4C .D...~.L.F.....L
000057E0 00 47 E0 80 01 7E E0 4C 00 48 E0 80 01 7F E0 4C .G...~.L.H.....L
000057F0 00 49 E0 80 01 83 E0 4C 00 4C E0 80 01 85 E0 4C .I.....L.L.....L
00005800 00 4E E0 80 01 83 E0 4C 00 51 E0 80 01 85 E0 4C .N.....L.Q.....L
00005810 00 52 E0 80 01 84 E0 4C 00 53 E0 80 01 86 E0 4C .R.....L.S.....L
00005820 00 54 E0 80 01 85 E0 4C 00 55 E0 80 01 9D E0 4C .T.....L.U.....L
00005830 00 58 E0 80 01 9C E0 4C 00 5A E0 80 02 95 E0 4C .X.....L.Z.....L
00005840 00 61 E0 80 00 99 E0 4C 00 62 E0 80 00 9A E0 4C .a.....L.b.....L
00005850 00 63 E0 80 00 98 E0 4C 00 64 E0 80 00 96 E0 4C .c.....L.d.....L
00005860 00 66 E0 80 00 97 E0 4C 00 67 E0 80 00 AF E0 4C .f.....L.g.....L
00005870 00 68 E0 80 00 AF E0 4C 00 69 E0 80 00 B5 E0 4C .h.....L.i.....L
00005880 00 6B E0 80 00 B6 E0 4C 00 6C E0 80 01 DB E0 4C .k.....L.l.....L
00005890 00 6D E0 80 00 B8 E0 4C 00 6E E0 80 00 B9 E0 4C .m.....L.n.....L
000058A0 00 6F E0 80 00 BD E0 4C 00 70 E0 80 00 C0 E0 4C .o.....L.p.....L
000058B0 00 71 E0 80 00 C0 E0 4C 00 72 E0 80 00 BF E0 4C .q.....L.r.....L
000058C0 00 73 E0 80 00 C0 E0 4C 00 74 E0 80 00 C1 E0 4C .s.....L.t.....L
000058D0 00 75 E0 80 00 C0 E0 4C 00 76 E0 80 00 C1 E0 4C .u.....L.v.....L
000058E0 00 77 E0 80 00 C3 E0 4C 00 78 E0 80 00 DC E0 4C .w.....L.x.....L
000058F0 01 00 E0 80 01 46 E0 4C 01 01 E0 80 02 0E E0 4C .....F.L.......L
00005900 01 02 E0 80 01 A1 E0 4C 01 03 E0 80 00 F1 E0 4C .......L.......L
00005910 01 04 C5 90 E0 4C 01 05 E0 80 01 7C E0 4C 01 06 .....L.....|.L..
00005920 E0 80 01 8E E0 4C 01 07 E0 80 01 57 C0 28 D7 03 .....L.....W.(..
00005930 E0 4C 01 08 E0 80 01 2B E0 4C 01 09 E0 80 01 B2 .L.....+.L......
00005940 E0 4C 01 0A E0 80 01 C7 E0 4C 01 0B E0 80 01 DF .L.......L......
00005950 E0 4C 01 0C E0 80 01 FA E0 4C 01 0D E0 80 01 25 .L.......L.....%
00005960 E0 4C 01 0E E0 80 01 3F E0 4C 01 0F E0 81 02 2A .L.....?.L.....*
00005970 E0 8F 01 C9 6C 28 30 29 F1 49 02 48 C0 3B 30 5B ....l(0).I.H.;0[
00005980 CC B8 30 19 C6 88 6C 28 30 19 F1 69 00 71 CF AA ..0...l(0..i.q..
00005990 6C 25 30 29 EB 49 02 48 6B B8 3F F9 EB 49 00 88 l%0).I.Hk.?..I..
000059A0 58 08 C0 A1 30 1C F0 16 00 3D F9 BC 00 01 F9 BC X...0....=......
000059B0 01 02 EB 4C 00 6C 30 08 30 13 EB 68 00 61 EB 68 ...L.l0.0..h.a.h
000059C0 00 72 CE 0A 30 29 C3 38 6C C9 30 08 B2 A8 C2 A8 .r..0).8l.0.....
000059D0 6C C8 30 1A 30 0B 6C 29 F0 EB 00 04 E0 68 00 B0 l.0.0.l).....h..
000059E0 E0 8F 01 BC 6C 28 30 19 F1 69 00 62 CC BA 6C C8 ....l(0..i.b..l.
000059F0 E0 6A 04 00 30 0B 6C 29 F0 EB 00 04 30 08 E0 8F .j..0.l)....0...
00005A00 01 AD 30 49 6C 28 F1 49 00 6C CB CA 6C 28 30 09 ..0Il(.I.l..l(0.
00005A10 F1 49 00 6C 30 19 F1 69 00 58 CB 4A 6C C9 30 08 .I.l0..i.X.Jl.0.
00005A20 B2 B8 6C 29 F3 48 00 6C CA DA 30 19 6C 28 91 69 ..l).H.l..0.l(.i
00005A30 CA 9A 30 19 E0 8F 01 6C 6C 28 30 19 F1 69 01 41 ..0....ll(0..i.A
00005A40 CA 1A 6C 28 30 19 F1 69 00 72 C9 CA 30 13 30 49 ..l(0..i.r..0.0I
00005A50 C0 88 30 29 6C 28 F1 49 01 3C C9 4A 30 13 30 39 ..0)l(.I.<.J0.09
00005A60 6C 28 F1 49 00 88 C8 EA 6D 57 30 08 6E 0C FA C9 l(.I....mW0.n...
00005A70 FF 6C 10 9A 10 9B E0 A0 30 0B C0 41 42 58 58 08 .l......0..ABXX.
00005A80 C0 C1 6E 0C E0 A0 26 DC EC FA 04 18 30 0B 1A DC ..n...&.....0...
00005A90 30 2C F0 16 00 11 2F FD 42 59 6C 28 F1 49 01 5C 0,..../.BYl(.I.\
00005AA0 C7 1A 30 39 CB 0B 6C 29 F2 F8 02 48 58 08 FE 91 ..09..l)...HX...
00005AB0 FE 6A 30 18 F3 48 02 48 FE 9F FE 65 EC FC 04 14 .j0..H.H...e....
00005AC0 FE B0 EA EA EC FC 04 10 C1 A8 30 29 C9 CB 6C 28 ..........0)..l(
00005AD0 30 19 F1 69 01 64 FE 9F FE 56 30 39 CA 8B 6C C8 0..i.d...V09..l.
00005AE0 30 09 B0 B9 FE 9F FE 4F 30 39 C0 28 30 49 6C 28 0......O09.(0Il(
00005AF0 F1 49 00 64 FE 9F FE 47 6D 58 70 0C FE B0 EA CC .I.d...GmXp.....
00005B00 FE 9F FE 41 30 59 CF 4B 30 0B 16 9C E0 A0 21 5A ...A0Y.K0.....!Z
00005B10 FE 9F FE 39 30 3B 30 0C CF AB 6C 28 30 19 F1 69 ...90;0...l(0..i
00005B20 02 50 FE 9F FE 30 30 13 30 29 C9 BB 6D 57 30 08 .P...00.0)..mW0.
00005B30 6E 0C FA C9 FF 6C 10 9A 10 9B E0 A0 2F A9 C0 C0 n....l....../...
00005B40 6E 0C E0 A0 26 7D EC FA 04 0C 30 0B 1A DC 30 2C n...&}....0...0,
00005B50 F0 16 00 11 2F FD 42 59 6C 28 F1 49 00 48 FE 9F ..../.BYl(.I.H..
00005B60 FE 12 D7 03 30 13 3F F9 C7 CB 30 19 12 93 C7 9B ....0.?...0.....
00005B70 6C 29 73 B8 58 08 FE 90 FE 06 30 18 C5 4B 6C 28 l)s.X.....0..Kl(
00005B80 30 19 F1 69 00 80 FE 9F FD FE 30 8C E0 A0 2E E8 0..i......0.....
00005B90 6C 29 6D 58 F2 FA 02 4C 70 08 F3 4C 02 4C 99 08 l)mX...Lp..L.L..
00005BA0 99 1A FE 9F FD F0 6D 58 FE C5 F5 FC 70 0B 6D CA ......mX....p.m.
00005BB0 EC F8 00 88 EC FC 04 08 70 0E EA C9 FF B4 F4 CA ........p.......
00005BC0 FC 80 30 48 1A DE E0 A0 09 4B 30 13 2F FD EA 0C ..0H.....K0./...
00005BD0 00 2C 79 39 C4 6B 6C 28 30 19 F1 69 01 40 FE 9F .,y9.kl(0..i.@..
00005BE0 FD D2 6D 58 FE C5 F6 38 70 0B 6D CA EC F8 00 88 ..mX...8p.m.....
00005BF0 EC FC 04 04 70 0E EA C9 FF A0 F4 CA FC 68 30 48 ....p........h0H
00005C00 1A DE E0 A0 09 2D 2F FD EA 0C 00 2C 79 89 C2 3B .....-/....,y..;
00005C10 6D 58 FE C5 F6 66 70 0B 6D CA EC F8 00 88 EA C9 mX...fp.m.......
00005C20 FF 8C 70 0E F4 CA FC 50 30 48 02 9C 1A DE E0 A0 ..p....P0H......
00005C30 09 17 2F FD EA 0C 00 2C 79 D9 CE 5A EC F4 04 00 ../....,y..Z....
00005C40 30 09 CE 1A 6D 58 70 0B 58 0B C1 D0 FE C5 F6 A0 0...mXp.X.......
00005C50 EC F8 00 88 6D CA 70 0E F4 CA FC 30 30 48 EA C9 ....m.p....00H..
00005C60 FF 70 04 9C 1A DE E0 A0 08 FB 2F FD EA 0C 00 2C .p......../....,
00005C70 F8 F8 00 90 58 18 C0 70 58 28 C0 71 30 1C F0 16 ....X..pX(.q0...
00005C80 00 3D C0 30 30 18 C0 28 30 08 6C 29 5C 58 F3 68 .=.00..(0.l)\X.h
00005C90 00 61 FE 90 FD 78 30 08 F3 48 00 48 FE 9F FD 73 .a...x0..H.H...s
00005CA0 6D 58 FE C5 F6 F6 70 0B 6D CA EC F8 00 88 EC FC mX....p.m.......
00005CB0 03 FC 70 0E EA C9 FF 4C F4 CA FC 08 30 48 1A DE ..p....L....0H..
00005CC0 E0 A0 08 CE 2F FD EA 0C 00 2C F8 F9 00 B4 FE 9F ..../....,......
00005CD0 FE AF 6D 58 FE C5 B3 8C 70 0B EC F8 00 88 EC FA ..mX....p.......
00005CE0 00 EC EC FC 03 F8 70 0E 0A 99 30 48 1A DE E0 A0 ......p...0H....
00005CF0 08 B7 EA 0C 03 2B 30 0C E0 A0 20 64 2F FD FE 9F .....+0... d/...
00005D00 FD 42 6D 58 70 04 FE 9F FD 3E 30 09 6C 28 F1 69 .BmXp....>0.l(.i
00005D10 01 49 FE 9F FD 38 6C 2B 6D 55 F6 C7 FF 88 6A 0C .I...8l+mU....j.
00005D20 28 CB 0E 9A E0 A0 1A DA C0 90 6D C9 6A 08 42 4B (.........m.j.BK
00005D30 F2 C9 FF 20 30 0A E0 A0 2E 49 EE E8 00 00 6C CA ... 0....I....l.
00005D40 F4 E9 00 04 FE 9F FD 1F 6C C8 30 1A 30 0B 6C 29 ........l.0.0.l)
00005D50 F0 EB 00 04 E0 68 00 90 F3 48 00 74 F2 EB 00 78 .....h...H.t...x
00005D60 FE 9F FD 11 6C 28 30 19 F1 69 00 70 FE 9F FD 0B ....l(0..i.p....
00005D70 30 0C C2 88 EC F8 01 50 70 0B EC F8 01 C0 70 0E 0......Pp.....p.
00005D80 58 1B C0 41 EC FB 03 F4 C0 A8 EC F9 03 F0 EC F8 X..A............
00005D90 03 EC 58 2B F2 0B 17 10 F0 0B 17 00 6C A8 30 05 ..X+........l.0.
00005DA0 70 0C EC FA 01 80 EC F8 03 E8 1A D5 1C 99 1A D8 p...............
00005DB0 EC F8 03 E4 1A D8 E0 A0 07 57 0A 9C E0 8F 03 F2 .........W......
00005DC0 30 2C FE B0 E6 B7 6C 28 F0 F8 01 5C 58 28 E0 8B 0,....l(...\X(..
00005DD0 00 04 30 19 C0 58 30 39 F0 09 0D 08 10 99 6C 27 ..0..X09......l'
00005DE0 30 0C EF 49 01 50 E0 A0 25 9D EF 4C 01 4C E0 A0 0..I.P..%..L.L..
00005DF0 1F DD 58 5C C0 71 EE FC 01 4C 30 1A 32 0B E0 A0 ..X\.q...L0.2...
00005E00 1F ED 6E 69 58 19 E0 88 00 13 EC F8 03 E0 20 28 ..niX......... (
00005E10 F2 08 00 05 C0 98 D7 03 6C 28 30 1A F0 FC 01 4C ........l(0....L
00005E20 2F F5 E0 A0 1F DB 0B 8B 58 0B CF 71 30 0C E0 A0 /.......X..q0...
00005E30 25 79 6C 25 30 1A 33 AB EB 4C 02 80 E0 A0 1F CE %yl%0.3..L......
00005E40 EB 38 01 64 30 09 F2 08 18 00 C0 60 6B B8 58 08 .8.d0......`k.X.
00005E50 C0 30 EB 69 01 64 6C 29 F2 F8 01 3C 20 18 58 18 .0.i.dl)...< .X.
00005E60 E0 8B 00 0A 58 03 C0 71 73 B8 58 08 C0 40 30 48 ....X..qs.X..@0H
00005E70 F3 48 00 88 6C 28 71 B8 58 08 E0 81 00 86 58 04 .H..l(q.X.....X.
00005E80 C1 11 EC FC 03 DC F0 16 00 0E 18 94 C0 B1 EC F4 ................
00005E90 03 D8 C0 88 30 3C E0 A0 15 FB 5C 5C C7 50 2F A4 ....0<....\\.P/.
00005EA0 C0 58 FE C7 F8 F6 EE C5 FF 3C 30 6A 0A 9B 08 9C .X.......<0j....
00005EB0 F0 16 00 1F CF 00 09 89 32 B8 F0 09 18 00 C2 51 ........2......Q
00005EC0 E8 C7 FF FF 30 AB 0E 9C F0 16 00 1E 18 95 C0 31 ....0..........1
00005ED0 0E 93 C1 58 F8 C3 FF FF 30 AB 06 9C F0 16 00 1E ...X....0.......
00005EE0 C0 C0 0E 9C E0 A0 1F 58 EC FA 03 D4 30 0B 1A DC .......X....0...
00005EF0 30 2C F0 16 00 11 2F FD 30 08 AA 88 6D 28 F1 43 0,..../.0...m(.C
00005F00 00 C4 F1 47 00 C0 C4 08 EC F8 00 88 6D CA EC FC ...G........m...
00005F10 03 D0 70 0E EE C9 FF 34 F4 CA FB F4 08 9B 30 48 ..p....4......0H
00005F20 1A DE E0 A0 07 9D 2F FD EE 0C 00 2C F8 F9 00 CC ....../....,....
00005F30 58 39 E0 8B 00 2A FE C8 FF F6 F0 09 00 2F D7 03 X9...*......./..
00005F40 E0 8F 00 08 E0 8F 00 0A E0 8F 00 10 E0 8F 00 18 ................
00005F50 6D 29 EC F8 03 CC C0 48 6D 29 EC F8 03 C8 F3 48 m).....Hm).....H
00005F60 00 C0 F3 48 00 C4 C1 08 6D 28 EC F9 03 C4 F1 49 ...H....m(.....I
00005F70 00 C4 EC F9 03 C0 F1 49 00 C0 C0 68 30 3C E0 A0 .......I...h0<..
00005F80 15 87 5C 5C CE A1 EC F8 01 FC 6C 25 70 01 EB 38 ..\\......l%p..8
00005F90 00 61 30 07 EE 08 18 00 E0 80 00 DD EC FC 03 BC .a0.............
00005FA0 F0 16 00 0E 52 5C E0 80 00 D6 19 88 EE 08 18 00 ....R\..........
00005FB0 E0 80 00 D1 EC FB 03 B8 FA CC FF FC F0 16 00 20 ............... 
00005FC0 30 04 42 5C E0 A0 2C E8 EB 4C 02 84 52 4C C1 38 0.B\..,..L..RL.8
00005FD0 F4 C9 00 01 58 39 E0 8B 00 94 FE C8 FF F6 42 5A ....X9........BZ
00005FE0 F0 09 00 2F E0 8F 00 08 E0 8F 00 39 E0 8F 00 40 .../.......9...@
00005FF0 E0 8F 00 72 42 5A 15 89 58 09 E0 80 00 9E 32 A8 ...rBZ..X.....2.
00006000 F0 09 18 00 C0 A0 33 A8 F4 CB FF FF F0 09 18 00 ......3.........
00006010 C2 11 30 1A C2 18 D7 03 31 4C E0 A0 2C A1 6C 29 ..0.....1L..,.l)
00006020 30 1A F2 F8 01 60 99 48 42 58 F3 4C 01 60 2F F8 0....`.HBX.L.`/.
00006030 52 58 18 94 18 99 42 48 FA CB FF 6C FA CC FF 70 RX....BH...l...p
00006040 89 18 FE B0 E7 1B 5C 5C F9 BA 00 FF F9 BA 01 04 ......\\........
00006050 C5 78 30 2A BA C9 52 5B CB CB 15 89 58 09 C5 40 .x0*..R[....X..@
00006060 F4 C8 FF FF 30 3A BA D9 52 58 CB 3B 15 39 33 D8 ....0:..RX.;.93.
00006070 52 5A F0 09 18 00 C4 81 6D C8 30 05 F0 C7 FB E0 RZ......m.0.....
00006080 C1 A8 FA CC FF FC F0 16 00 06 2F C7 58 0C C1 21 ........../.X..!
00006090 6D 28 18 9A F0 05 00 38 42 4E 10 99 FA CB FF 6C m(.....8BN.....l
000060A0 FA CC FF 70 91 1E FE B0 E6 E9 5C 5C E0 81 02 7C ...p......\\...|
000060B0 C0 58 2F F5 6E 0B 58 0B CE 51 FA CC FF FC E0 A0 .X/.n.X..Q......
000060C0 23 BF EC FA 03 B4 30 0B 1A DC 16 9C F0 16 00 11 #.....0.........
000060D0 2F FD C1 A8 15 39 33 D8 52 5A F0 09 18 00 C1 41 /....93.RZ.....A
000060E0 42 48 E8 C9 FF F8 30 0A FA CB FF 6C FA CC FF 70 BH....0....l...p
000060F0 89 38 FE B0 E6 C3 5C 5C C0 70 E0 8F 02 55 58 0A .8....\\.p...UX.
00006100 FE 99 FF 68 C1 90 30 0B EC FA 03 B0 16 9C F0 16 ...h..0.........
00006110 00 11 6C 25 EA FC 02 84 F0 16 00 03 EA FC 01 60 ..l%...........`
00006120 C0 68 D7 03 78 45 F0 16 00 03 0A 9C 58 0C CF B1 .h..xE......X...
00006130 6C 28 F1 6C 00 61 6D 28 70 EA 58 6A C0 B1 70 FC l(.l.am(p.Xj..p.
00006140 EC FB 03 AC F0 16 00 1F C0 51 6C 28 30 19 F1 69 .........Ql(0..i
00006150 00 68 6C 27 30 05 EF 38 00 61 EA 08 18 00 C6 20 .hl'0..8.a..... 
00006160 30 DC FE B0 E7 BB 5C 5C C1 31 30 EC FE B0 E7 B6 0.....\\.10.....
00006170 5C 5C C0 60 EF 38 00 68 EA 08 18 00 C0 91 30 CC \\.`.8.h......0.
00006180 FE B0 E7 AC 5C 5C C0 80 6F B8 58 08 C0 51 6C 28 ....\\..o.X..Ql(
00006190 30 19 F1 69 00 69 30 1C F0 16 00 6B C4 35 6C 2C 0..i.i0....k.5l,
000061A0 F8 CC FE 98 F0 16 00 92 FE C8 FB FC F0 C2 FF 24 ...............$
000061B0 F0 C5 FE F4 04 94 68 07 FA CA FF FC 30 0B 0E 9C ......h.....0...
000061C0 F0 16 00 4C 40 18 58 18 C0 70 6C 2C 0E 9B F8 CC ...L@.X..pl,....
000061D0 FE 98 F0 16 00 84 2F C4 0A 34 CE E1 6C 25 E0 6A ....../..4..l%.j
000061E0 00 80 EA C5 FE 98 0A 9B FA CC FF F8 F0 16 00 09 ................
000061F0 49 68 52 28 64 03 0A 9C 06 9B F0 16 00 48 C0 F0 IhR(d........H..
00006200 FE C9 3A 5C FE C8 3A 48 06 9C 59 43 F0 09 17 00 ..:\..:H..YC....
00006210 30 0A FA CB FF FC 50 19 F0 16 00 4C 2F C2 08 32 0.....P....L/..2
00006220 CE A1 6C 2A 75 98 58 18 C1 61 F5 39 00 71 30 08 ..l*u.X..a.9.q0.
00006230 F0 09 18 00 C0 C1 74 68 58 38 C0 90 75 B8 58 08 ......thX8..u.X.
00006240 C0 60 30 49 C0 58 D7 03 10 00 00 00 30 29 6C 28 .`0I.X......0)l(
00006250 F1 49 00 64 6C 27 30 08 EF 39 02 50 F0 09 18 00 .I.dl'0..9.P....
00006260 C1 80 FE C8 35 3A FE C9 3A EA FE CA 3B 0C 30 0B ....5:..:...;.0.
00006270 31 EC E0 A0 16 0B EF 4C 01 44 C0 31 E0 A0 05 18 1......L.D.1....
00006280 30 0A 6C 38 6C 89 EE CC FD E4 14 9B F0 16 00 3C 0.l8l..........<
00006290 6C 2A F4 F8 00 88 58 48 C0 F0 58 28 C0 D0 75 B8 l*....XH..X(..u.
000062A0 58 08 C0 A0 F5 39 00 70 30 08 F0 09 18 00 C0 41 X....9.p0......A
000062B0 F5 38 00 72 C0 28 30 18 6C 29 5C 58 F3 68 00 60 .8.r.(0.l)\X.h.`
000062C0 10 9A C0 30 30 09 C1 28 F3 38 02 50 F4 08 18 00 ...00..(.8.P....
000062D0 C0 C1 F3 38 00 61 F4 08 18 00 C0 71 72 68 58 08 ...8.a.....qrhX.
000062E0 C0 41 F3 39 01 40 C0 28 30 19 6C 25 30 03 EB 38 .A.9.@.(0.l%0..8
000062F0 01 64 EB 69 00 63 E6 08 18 00 C1 10 30 0A 6C 38 .d.i.c......0.l8
00006300 6C 89 14 9B EA CC FE 10 F0 16 00 3C 6C 38 30 0A l..........<l80.
00006310 6C 89 14 9B EA CC FD AC F0 16 00 3C 36 48 10 9C l..........<6H..
00006320 37 CB EB 48 00 5C FE B0 E6 C7 E0 01 01 04 30 07 7..H.\........0.
00006330 8B 37 8B 5C FE B0 E4 C4 58 04 E0 89 00 1B EB 38 .7.\....X......8
00006340 00 71 E6 08 18 00 C0 E0 EC FC 01 7C EC FE 00 E0 .q.........|....
00006350 30 1A 30 08 30 09 30 3B 1A DE FE B0 E7 ED 2F FD 0.0.0.0;....../.
00006360 C1 98 EC FC 01 7C 0E 9B 30 1A FE B0 E6 DB C1 28 .....|..0......(
00006370 40 08 F0 01 00 27 0F 0C EC FE 00 E0 30 1A 30 08 @....'......0.0.
00006380 30 09 30 0B 2F F1 1A DE FE B0 E7 D6 2F FD 00 31 0.0./......./..1
00006390 CF 35 6C 27 6E 38 58 08 C0 D0 FE B0 EA D1 EF 39 .5l'n8X........9
000063A0 00 71 30 08 F0 09 18 00 C0 51 30 1B 30 0C FE B0 .q0......Q0.0...
000063B0 EB 4B 6C 27 6E 38 58 08 C1 90 FE B0 F2 D7 6F 58 .Kl'n8X.......oX
000063C0 58 08 C7 B0 6D 08 70 0B 76 49 76 78 10 39 C0 52 X...m.p.vIvx.9.R
000063D0 30 A8 12 C8 97 49 C0 48 30 AC F0 16 00 0D 6C 29 0....I.H0.....l)
000063E0 73 38 2F F8 F3 48 00 4C C6 88 58 14 E0 89 00 66 s8/..H.L..X....f
000063F0 6F 58 58 08 C6 20 70 38 58 08 C5 F1 EF 68 02 51 oXX.. p8X....h.Q
00006400 C5 C8 6A 38 E6 F9 01 44 E7 48 00 54 58 09 C4 70 ..j8...D.H.TX..p
00006410 6A 08 58 08 C4 41 E6 F8 02 28 E6 F9 02 24 12 18 j.X..A...(...$..
00006420 58 F8 E0 8B 00 0D FE C9 FE 7A EC FC 03 A8 E0 6A X........z.....j
00006430 03 AD F2 C9 FE F4 08 9B F0 16 00 0F E6 F8 02 2C ...............,
00006440 E6 F9 02 28 12 18 5B 08 C0 64 3F 0B E6 CC FD E4 ...(..[..d?.....
00006450 F0 16 00 26 E6 F8 02 28 E6 FC 01 44 21 08 FA C9 ...&...(...D!...
00006460 FF FC E7 48 02 28 12 9B E1 C8 00 0F E9 C9 00 0F ...H.(..........
00006470 E0 A0 15 D6 18 97 C0 C1 FE C9 FE CC EC FC 03 A4 ................
00006480 E0 6A 05 38 F2 C9 FE E8 08 9B F0 16 00 0F 0E 9C .j.8............
00006490 FE B0 E4 4C 0A 9C FE B0 E4 39 C1 18 EB 3A 00 08 ...L.....9...:..
000064A0 6A 1B 6A 0C FE B0 F6 3C 0A 9C FE B0 E4 2F 6C 28 j.j....<...../l(
000064B0 30 19 F1 69 02 51 C0 38 EC F4 00 DC 6C 23 67 55 0..i.Q.8....l#gU
000064C0 58 05 CA 01 E7 38 00 61 EA 08 18 00 C3 00 E7 38 X....8.a.......8
000064D0 01 48 EA 08 18 00 C0 30 FE B0 EB 5A 6C A8 06 94 .H.....0...Zl...
000064E0 70 0C E6 C2 FE 98 F0 16 00 47 FE C8 FF 3E F0 C3 p........G...>..
000064F0 FE F4 F0 C7 FF 24 6E 05 04 9C 0A 9B F0 16 00 48 .....$n........H
00006500 C0 50 0A 9C 30 0B F0 16 00 4E 2F C7 06 37 CF 41 .P..0....N/..7.A
00006510 68 15 C0 58 31 3C F0 16 00 39 20 15 58 05 CF B1 h..X1<...9 .X...
00006520 6C 28 70 0C 58 0C C0 30 F0 16 00 39 6C 27 30 08 l(p.X..0...9l'0.
00006530 EF 39 01 64 F0 09 18 00 C1 B0 EC FC 03 A0 EE CB .9.d............
00006540 FE 10 FE B0 E4 57 EC FC 03 9C EE CB FD AC FE B0 .....W..........
00006550 E4 51 EE FC 01 4C E0 A0 1C 29 EC F8 00 EC F0 0C .Q...L...)......
00006560 03 28 EC FC 03 98 1A D8 F0 16 00 16 2F FD EE FC .(........../...
00006570 01 44 58 0C C1 40 E0 A0 12 A7 C0 D0 FE C9 FF D0 .DX..@..........
00006580 EC FB 00 DC EC FC 03 94 F2 C9 FE E8 E0 6A 05 6F .............j.o
00006590 F0 16 00 0F EE FC 01 44 E0 A0 14 3E 6C 28 70 2C .......D...>l(p,
000065A0 F0 16 00 45 30 1A FE 9F FD 15 D7 03 67 6F 62 62 ...E0.......gobb
000065B0 6C 65 5F 66 69 6C 65 00 73 6F 72 74 5F 66 69 6C le_file.sort_fil
000065C0 65 73 00 00 00 00 00 0D 00 00 00 08 00 00 00 0B es..............
000065D0 00 00 00 06 00 00 00 0A 00 00 00 05 00 00 00 07 ................
000065E0 00 00 00 09 00 00 00 05 00 00 00 06 3F 70 63 64 ............?pcd
000065F0 62 2D 6C 73 77 64 00 00 FF FF FF FF 00 00 00 04 b-lswd..........
00006600 00 00 00 02 00 00 00 01 00 00 00 03 00 00 00 02 ................
00006610 00 00 00 02 00 00 00 02 00 00 00 01 00 00 00 01 ................
00006620 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 03 ................
00006630 00 00 00 03 00 00 00 02 00 00 00 01 00 00 00 01 ................
00006640 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 ................
00006650 00 00 00 00 00 00 00 02 00 00 00 02 00 00 00 02 ................
00006660 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00 03 ................
00006670 70 6F 73 69 78 2D 00 00 00 00 00 00 00 00 00 01 posix-..........
00006680 00 00 00 02 00 00 00 03 00 00 00 14 00 00 00 0E ................
00006690 00 00 00 01 00 00 00 02 00 00 00 0D 00 00 00 03 ................
000066A0 00 00 00 0F 00 00 00 1D 00 00 00 1B 00 00 00 1A ................
000066B0 00 00 00 18 00 00 00 19 64 65 76 5F 69 6E 6F 5F ........dev_ino_
000066C0 70 6F 70 00 6D 61 69 6E 00 00 D7 03             pop.main....   

;; fn000066CC: 000066CC
;;   Called from:
;;     000035AC (in fn00003334)
fn000066CC proc
	ret	sp
000066CE                                           D7 03               ..

;; fn000066D0: 000066D0
;;   Called from:
;;     00003616 (in fn00003334)
fn000066D0 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[136]
	rsub	r6,pc
	sub	r9,r11,FFFFFFFF
	mov	r8,00000401
	cp.w	r11,r8
	movcs	r7,r9

l000066E4:
	movcc	r7,r8

l000066E8:
	mov	r0,r12
	rjmp	000066EE

l000066EC:
	lddpc	r7,pc[112]

l000066EE:
	mov	r12,r7
	mcall	r6[32]
	mov	r4,r12
	mov	r3,r12
	breq	00006752

l000066FA:
	mov	r11,r12
	mov	r10,r7
	mov	r12,r0
	mcall	r6[548]
	mov	r5,r12
	brge	00006722

l00006708:
	mcall	r6[28]
	ld.w	r2,r12[0]
	mov	r1,r12
	cp.w	r2,00000022
	breq	00006722

l00006716:
	mov	r12,r4
	mcall	r6[12]
	mov	r3,00000000
	st.w	r1[0],r2
	rjmp	00006752

l00006722:
	cp.w	r5,r7
	brcc	0000672E

l00006726:
	mov	r8,00000000
	st.b	r4[r5],r8
	rjmp	00006752

l0000672E:
	mov	r12,r4
	mcall	r6[12]
	lddpc	r8,pc[44]
	cp.w	r7,r8
	brhi	00006740

l0000673C:
	lsl	r7,+00000001
	rjmp	000066EE

l00006740:
	lddpc	r8,pc[36]
	cp.w	r7,r8
	brls	000066EC

l00006748:
	mcall	r6[28]
	mov	r3,00000000
	mov	r8,0000000C
	st.w	r12[0],r8

l00006752:
	mov	r12,r3
	popm	r0-r3,r4-r7,pc
00006756                   D7 03 FF FF 16 E4 7F FF FF FF       ..........
00006760 3F FF FF FF 7F FF FF FE                         ?.......       

;; fn00006768: 00006768
;;   Called from:
;;     00006856 (in fn00006814)
;;     0000685E (in fn00006814)
fn00006768 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[112]
	rsub	r6,pc
	mov	r5,00000000
	mov	r7,r12
	mov	r4,r5
	rjmp	000067CC

l00006776:
	cp.w	r4,00000000
	breq	00006794

l0000677A:
	rcall	0000BCB0
	castu.b	r12
	brne	000067C4

l00006782:
	ld.w	r8,r7[0]
	ld.ub	r9,r8[0]
	mov	r8,0000007E
	cp.b	r9,r8
	breq	000067C4

l0000678E:
	mov	r5,r12
	mov	r4,r12
	rjmp	000067C6

l00006794:
	mov	r8,0000002E
	cp.b	r12,r8
	brne	000067AC

l0000679C:
	mov	r9,00000001
	cp.w	r5,00000000
	brne	000067A8

l000067A2:
	mov	r5,r10
	mov	r4,r9
	rjmp	000067C6

l000067A8:
	mov	r4,r9
	rjmp	000067C6

l000067AC:
	rcall	0000BC98
	castu.b	r12
	brne	000067C6

l000067B4:
	ld.w	r8,r7[0]
	ld.ub	r9,r8[0]
	mov	r8,0000007E
	cp.b	r9,r8
	breq	000067C6

l000067C0:
	mov	r5,r4
	rjmp	000067C6

l000067C4:
	mov	r4,00000000

l000067C6:
	ld.w	r8,r7[0]
	sub	r8,FFFFFFFF
	st.w	r7[0],r8

l000067CC:
	ld.w	r10,r7[0]
	ld.ub	r12,r10[0]
	cp.w	r12,00000000
	brne	00006776

l000067D4:
	mov	r12,r5
	popm	r4-r7,pc
000067D8                         FF FF 17 7C                     ...|   

;; fn000067DC: 000067DC
;;   Called from:
;;     000068B0 (in fn00006814)
;;     000068C0 (in fn00006814)
fn000067DC proc
	pushm	r4-r7,lr
	lddpc	r6,pc[52]
	rsub	r6,pc
	mov	r7,r12
	rcall	0000BCDC
	castu.b	r12
	breq	000067F0

l000067EC:
	mov	r7,00000000
	rjmp	0000680C

l000067F0:
	mov	r12,r7
	rcall	0000BCB0
	castu.b	r12
	brne	0000680C

l000067FA:
	sub	r9,r7,FFFFFF00
	mov	r8,0000007E
	cp.b	r8,r7
	movne	r7,r9

l00006808:
	moveq	r7,FFFFFFFF

l0000680C:
	mov	r12,r7
	popm	r4-r7,pc
00006810 FF FF 17 F0                                     ....           

;; fn00006814: 00006814
;;   Called from:
;;     00003A16 (in fn00003A0C)
fn00006814 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000014
	lddpc	r6,pc[276]
	rsub	r6,pc
	mov	r2,r12
	mov	r4,r11
	mcall	r6[24]
	stdsp	sp[8],r12
	brne	0000683C

l00006828:
	rjmp	00006990

l0000682A:
	ld.ub	r8,r4[0]
	sub	r2,FFFFFFFF
	sub	r4,FFFFFFFF
	cp.b	r9,r8
	breq	0000683C

l00006836:
	sub	r9,r8
	stdsp	sp[8],r9
	rjmp	00006990

l0000683C:
	ld.ub	r9,r2[0]
	mov	r10,0000002E
	cp.b	r9,r10
	breq	0000682A

l00006846:
	ld.ub	r8,r4[0]
	cp.b	r8,r10
	breq	0000682A

l0000684E:
	sub	r12,sp,FFFFFFF0
	stdsp	sp[16],r2
	stdsp	sp[12],r4
	rcall	00006768
	mov	r7,r12
	sub	r12,sp,FFFFFFF4
	rcall	00006768
	cp.w	r7,00000000
	breq	00006868

l00006864:
	mov	r8,r7
	rjmp	0000686A

l00006868:
	lddsp	r8,sp[16]

l0000686A:
	sub	r8,r2
	stdsp	sp[0],r8
	cp.w	r12,00000000
	breq	00006876

l00006872:
	mov	r10,r12
	rjmp	00006878

l00006876:
	lddsp	r10,sp[12]

l00006878:
	sub	r10,r4
	or	r8,r7,r12
	stdsp	sp[4],r10
	breq	0000689E

l00006882:
	lddsp	r9,sp[0]
	cp.w	r9,r10
	brne	0000689E

l00006888:
	mov	r11,r4
	mov	r12,r2
	mcall	r6[124]
	brne	0000689E

l00006892:
	lddsp	r8,sp[16]
	sub	r8,r2
	stdsp	sp[0],r8
	lddsp	r8,sp[12]
	sub	r8,r4
	stdsp	sp[4],r8

l0000689E:
	mov	r0,00000000
	mov	r1,r0
	rjmp	00006976

l000068A4:
	lddsp	r8,sp[0]
	cp.w	r0,r8
	brne	000068AE

l000068AA:
	mov	r5,r12
	rjmp	000068BE

l000068AE:
	ld.ub	r12,r7[0]
	rcall	000067DC
	lddsp	r9,sp[4]
	mov	r5,r12
	cp.w	r1,r9
	brne	000068BE

l000068BA:
	mov	r12,00000000
	rjmp	000068C2

l000068BE:
	ld.ub	r12,r3[0]
	rcall	000067DC

l000068C2:
	sub	r3,FFFFFFFF
	sub	r7,FFFFFFFF
	cp.w	r5,r12
	breq	000068D4

l000068CA:
	sub	r12,r5,r12
	breq	00006990

l000068D0:
	stdsp	sp[8],r12
	rjmp	00006990

l000068D4:
	sub	r0,FFFFFFFF
	sub	r1,FFFFFFFF

l000068D8:
	lddsp	r8,sp[0]
	cp.w	r0,r8
	brcc	000068E8

l000068DE:
	ld.ub	r12,r7[0]
	rcall	0000BCDC
	castu.b	r12
	breq	000068AE

l000068E8:
	lddsp	r9,sp[4]
	cp.w	r1,r9
	brcs	000068F4

l000068EE:
	add	r10,r2,r0
	rjmp	00006902

l000068F4:
	ld.ub	r12,r3[0]
	rcall	0000BCDC
	castu.b	r12
	breq	000068A4

l000068FE:
	rjmp	000068EE

l00006900:
	sub	r0,FFFFFFFF

l00006902:
	ld.ub	r9,r10++
	mov	r8,00000030
	cp.b	r9,r8
	breq	00006900

l0000690C:
	add	r10,r4,r1
	rjmp	00006914

l00006912:
	sub	r1,FFFFFFFF

l00006914:
	ld.ub	r9,r10++
	mov	r8,00000030
	cp.b	r9,r8
	breq	00006912

l0000691E:
	add	r7,r2,r0
	add	r5,r4,r1
	mov	r3,00000000
	rjmp	00006944
0000692A                               D7 03 FF FF 18 2A           .....*

l00006930:
	sub	r0,FFFFFFFF
	sub	r1,FFFFFFFF
	cp.w	r3,00000000
	brne	00006940

l00006938:
	ld.ub	r9,r7[0]
	ld.ub	r8,r5[0]
	sub	r3,r9,r8

l00006940:
	sub	r7,FFFFFFFF
	sub	r5,FFFFFFFF

l00006944:
	ld.ub	r12,r7[0]
	rcall	0000BCDC
	castu.b	r12
	breq	00006958

l0000694E:
	ld.ub	r12,r5[0]
	rcall	0000BCDC
	castu.b	r12
	brne	00006930

l00006958:
	ld.ub	r12,r7[0]
	rcall	0000BCDC
	castu.b	r12
	breq	00006966

l00006962:
	mov	r3,00000001
	rjmp	0000698E

l00006966:
	ld.ub	r12,r4[r1]
	rcall	0000BCDC
	castu.b	r12
	brne	0000698C

l00006972:
	cp.w	r3,00000000
	brne	0000698E

l00006976:
	lddsp	r8,sp[0]
	cp.w	r0,r8
	brcs	00006982

l0000697C:
	lddsp	r9,sp[4]
	cp.w	r1,r9
	brcc	00006990

l00006982:
	add	r3,r4,r1
	add	r7,r2,r0
	rjmp	000068D8

l0000698C:
	mov	r3,FFFFFFFF

l0000698E:
	stdsp	sp[8],r3

l00006990:
	lddsp	r12,sp[8]
	sub	sp,FFFFFFEC
	popm	r0-r3,r4-r7,pc
00006996                   D7 03                               ..       

;; fn00006998: 00006998
;;   Called from:
;;     0000431E (in fn0000418C)
;;     00004FFC (in fn00004968)
;;     00006ABC (in fn00006AA8)
fn00006998 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,0000000C
	lddpc	r6,pc[264]
	rsub	r6,pc
	mov	r7,r12
	mov	r2,r10
	add	r3,r12,r11
	mcall	r6[172]
	cp.w	r12,00000001
	brls	000069B8

l000069B2:
	mov	r5,r7
	mov	r4,00000000
	rjmp	00006A6E

l000069B8:
	ld.w	r8,r6[156]
	mov	r12,r7
	ld.w	r10,r8[0]
	mov	r4,00000000
	rjmp	00006A96

l000069C4:
	ld.ub	r9,r5[0]
	mov	r8,00000020
	cp.b	r9,r8
	brcs	00006A08

l000069CE:
	mov	r8,00000023
	cp.b	r9,r8
	brls	00006A2C

l000069D8:
	mov	r8,00000025
	cp.b	r9,r8
	brcs	00006A08

l000069E0:
	mov	r8,0000003F
	cp.b	r9,r8
	brls	00006A2C

l000069EA:
	mov	r8,00000041
	cp.b	r9,r8
	brcs	00006A08

l000069F2:
	mov	r8,0000005F
	cp.b	r9,r8
	brls	00006A2C

l000069FC:
	sub	r9,00000061
	mov	r8,0000001D
	cp.b	r9,r8
	brls	00006A2C

l00006A08:
	mov	r8,00000000
	mov	r9,00000000
	st.d	sp[0],r9:r8

l00006A10:
	sub	r10,r3,r5
	mov	r11,r5
	mov	r9,sp
	sub	r12,sp,FFFFFFF8
	mcall	r6[248]
	mov	r7,r12
	cp.w	r12,FFFFFFFF
	brne	00006A32

l00006A26:
	bld	r2,+00000000
	breq	00006A9C

l00006A2C:
	sub	r5,FFFFFFFF
	sub	r4,FFFFFFFF
	rjmp	00006A6E

l00006A32:
	cp.w	r12,FFFFFFFE
	brne	00006A42

l00006A36:
	bld	r2,+00000000
	breq	00006A9C

l00006A3C:
	sub	r4,FFFFFFFF
	mov	r5,r3
	rjmp	00006A6E

l00006A42:
	cp.w	r12,00000000
	moveq	r7,00000001

l00006A48:
	lddsp	r12,sp[8]
	rcall	0000B88C
	brlt	00006A54

l00006A50:
	add	r4,r12
	rjmp	00006A64

l00006A54:
	bld	r2,+00000001
	breq	00006A9C

l00006A5A:
	lddsp	r12,sp[8]
	mcall	r6[556]
	sreq	r8
	add	r4,r8

l00006A64:
	mov	r12,sp
	add	r5,r7
	mcall	r6[144]
	breq	00006A10

l00006A6E:
	cp.w	r5,r3
	brcs	000069C4

l00006A72:
	rjmp	00006A9E

l00006A74:
	ld.ub	r8,r12[0]
	ld.uh	r9,r10[r8<<1]
	bld	r9,+00000006
	brne	00006A84

l00006A80:
	sub	r4,FFFFFFFF
	rjmp	00006A94

l00006A84:
	eorl	r9,0200
	bfextu	r8,r9,+00000009,+00000001
	add	r4,r8
	bld	r2,+00000001
	breq	00006A9C

l00006A94:
	sub	r12,FFFFFFFF

l00006A96:
	cp.w	r12,r3
	brcs	00006A74

l00006A9A:
	rjmp	00006A9E

l00006A9C:
	mov	r4,FFFFFFFF

l00006A9E:
	mov	r12,r4
	sub	sp,FFFFFFF4
	popm	r0-r3,r4-r7,pc
00006AA4             FF FF 19 AE                             ....       

;; fn00006AA8: 00006AA8
;;   Called from:
;;     000031A8 (in fn00003198)
;;     000032E0 (in fn000032D0)
;;     0000375A (in fn00003334)
;;     0000389C (in fn00003334)
;;     00004CE0 (in fn00004968)
;;     00004EC6 (in fn00004968)
fn00006AA8 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[24]
	rsub	r6,pc
	mov	r5,r11
	mov	r3,r12
	mcall	r6[16]
	mov	r10,r5
	mov	r11,r12
	mov	r12,r3
	rcall	00006998
	popm	r0-r3,r4-r7,pc
00006AC0 FF FF 1A BC                                     ....           

;; fn00006AC4: 00006AC4
fn00006AC4 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[88]
	rsub	r6,pc
	mov	r11,0000002F
	mov	r5,r12
	mcall	r6[196]
	sub	r8,r12,FFFFFFFF
	cp.w	r12,00000000
	movne	r7,r8

l00006ADC:
	moveq	r7,r5

l00006AE0:
	sub	r8,r7,r5
	cp.w	r8,00000006
	brle	00006B14

l00006AEA:
	ld.w	r11,r6[912]
	mov	r10,00000007
	sub	r12,r7,00000007
	mcall	r6[124]
	brne	00006B14

l00006AFA:
	ld.w	r11,r6[908]
	mov	r10,00000003
	mov	r12,r7
	mcall	r6[124]
	sub	r8,r7,FFFFFFFD
	cp.w	r12,00000000
	moveq	r5,r8

l00006B10:
	movne	r5,r7

l00006B14:
	ld.w	r8,r6[328]
	st.w	r8[0],r5
	popm	r4-r7,pc
00006B1C                                     FF FF 1A D8             ....
00006B20 D4 21 48 E6 1E 26 EC FC 03 88 EC F8 03 84 1A D8 .!H..&..........
00006B30 F0 16 00 16 EC F8 03 80 EC FC 03 7C 1A D8 EC F8 ...........|....
00006B40 03 78 1A D8 F0 16 00 16 6C A8 EC FC 03 74 70 0B .x......l....tp.
00006B50 F0 16 00 05 2F DD D8 22 FF FF 1B 34             ..../.."...4   

;; fn00006B5C: 00006B5C
;;   Called from:
;;     00006C72 (in fn00006C64)
fn00006B5C proc
	pushm	r4-r7,lr
	sub	sp,00000008
	lddpc	r6,pc[256]
	rsub	r6,pc
	mov	r7,r12
	mov	r5,r11
	mov	lr,r9
	mov	r4,00000000
	stdsp	sp[4],r8
	stdsp	sp[0],r8
	rjmp	00006B74

l00006B72:
	sub	r4,FFFFFFFF

l00006B74:
	lddsp	r8,sp[4]
	sub	r9,r8,FFFFFFFC
	stdsp	sp[4],r9
	ld.w	r8,r8[0]
	cp.w	r8,00000000
	brne	00006B72

l00006B82:
	cp.w	r5,00000000
	breq	00006B9A

l00006B86:
	ld.w	r11,r6[880]
	mov	r12,r7
	st.w	--sp,lr
	st.w	--sp,r10
	st.w	--sp,r5
	mcall	r6[104]
	sub	sp,FFFFFFF4
	rjmp	00006BAA

l00006B9A:
	ld.w	r11,r6[876]
	mov	r12,r7
	st.w	--sp,lr
	st.w	--sp,r10
	mcall	r6[104]
	sub	sp,FFFFFFF8

l00006BAA:
	sub	r11,pc,FFFFFF2E
	mov	r8,000007D9
	st.w	--sp,r8
	mov	r12,r7
	ld.w	r8,r6[872]
	st.w	--sp,r8
	mcall	r6[104]
	ld.w	r12,r6[868]
	mov	r11,r7
	mcall	r6[20]
	sub	sp,FFFFFFF8
	cp.w	r4,00000009
	brhi	00006C50

l00006BD2:
	sub	r8,pc,FFFFFFF6
	add	pc,r8,r4<<2
00006BDA                               D7 03                       ..   

l00006BDC:
	br	00006C04

l00006BE0:
	br	00006C08

l00006BE4:
	br	00006C10

l00006BE8:
	br	00006C18

l00006BEC:
	br	00006C20

l00006BF0:
	br	00006C28

l00006BF4:
	br	00006C30

l00006BF8:
	br	00006C38

l00006BFC:
	br	00006C40

l00006C00:
	br	00006C48

l00006C04:
	mcall	r6[76]

l00006C08:
	lddsp	r10,sp[0]
	ld.w	r11,r6[864]
	rjmp	00006C56

l00006C10:
	lddsp	r10,sp[0]
	ld.w	r11,r6[860]
	rjmp	00006C56

l00006C18:
	lddsp	r10,sp[0]
	ld.w	r11,r6[856]
	rjmp	00006C56

l00006C20:
	lddsp	r10,sp[0]
	ld.w	r11,r6[852]
	rjmp	00006C56

l00006C28:
	lddsp	r10,sp[0]
	ld.w	r11,r6[848]
	rjmp	00006C56

l00006C30:
	lddsp	r10,sp[0]
	ld.w	r11,r6[844]
	rjmp	00006C56

l00006C38:
	lddsp	r10,sp[0]
	ld.w	r11,r6[840]
	rjmp	00006C56

l00006C40:
	lddsp	r10,sp[0]
	ld.w	r11,r6[836]
	rjmp	00006C56

l00006C48:
	lddsp	r10,sp[0]
	ld.w	r11,r6[832]
	rjmp	00006C56

l00006C50:
	lddsp	r10,sp[0]
	ld.w	r11,r6[828]

l00006C56:
	mov	r12,r7
	rcall	0000B818
	sub	sp,FFFFFFF8
	popm	r4-r7,pc
00006C60 FF FF 1B 72                                     ...r           

;; fn00006C64: 00006C64
fn00006C64 proc
	pushm	r4-r7,lr
	sub	sp,00000004
	lddpc	r6,pc[16]
	rsub	r6,pc
	sub	r8,sp,FFFFFFE8
	stdsp	sp[0],r8
	rcall	00006B5C
	sub	sp,FFFFFFFC
	popm	r4-r7,pc
00006C78                         FF FF 1C 7A 43 6F 70 79         ...zCopy
00006C80 72 69 67 68 74 20 25 73 20 25 64 20 46 72 65 65 right %s %d Free
00006C90 20 53 6F 66 74 77 61 72 65 20 46 6F 75 6E 64 61  Software Founda
00006CA0 74 69 6F 6E 2C 20 49 6E 63 2E 00 00             tion, Inc...   

;; fn00006CAC: 00006CAC
;;   Called from:
;;     000030C4 (in fn000030B4)
;;     00003220 (in fn00003210)
;;     000044CA (in fn00004458)
;;     000051B4 (in fn0000511C)
;;     000071DE (in fn000071D4)
;;     0000A654 (in fn0000A614)
;;     0000B916 (in fn0000B904)
;;     0000B96E (in fn0000B95C)
;;     0000CA5C (in fn0000CA50)
fn00006CAC proc
	pushm	r4-r7,lr
	lddpc	r6,pc[32]
	rsub	r6,pc
	ld.w	r8,r6[192]
	ld.w	r10,r6[824]
	ld.w	r12,r8[0]
	mov	r11,00000000
	ld.w	r8,r6[820]
	st.w	--sp,r8
	mcall	r6[68]
	mcall	r6[76]
	st.hne	pc[384],pc

l00006CD0:
	pushm	r4-r7,lr
	lddpc	r6,pc[16]
	rsub	r6,pc
	mov	r12,00000001
	rcall	00002B30
	popm	r4-r7,pc
00006CDE                                           D7 03               ..
00006CE0 FF FF 1C E4 D4 31 48 B6 1E 26 18 92 12 93 16 95 .....1H..&......
00006CF0 14 97 C0 68 F0 16 00 2A 2F C5 58 0C C0 80 6A 04 ...h...*/.X...j.
00006D00 0E 9B 06 9A 04 9C 06 07 58 04 CF 51 08 9C D8 32 ........X..Q...2
00006D10 FF FF 1C F8                                     ....           

;; fn00006D14: 00006D14
;;   Called from:
;;     00006E88 (in fn00006E5C)
fn00006D14 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[132]
	rsub	r6,pc
	ld.w	r8,r6[148]
	mov	r5,r12
	mov	r3,r11
	ld.w	r12,r6[816]
	ld.w	r11,r8[0]
	mov	r2,r10
	mcall	r6[404]
	mov	r4,00000000
	ld.w	r0,r6[812]
	mov	r1,r4
	rjmp	00006D6E

l00006D38:
	cp.w	r4,00000000
	breq	00006D42

l00006D3C:
	mcall	r6[168]
	breq	00006D58

l00006D42:
	ld.w	r8,r6[148]
	ld.w	r11,r6[808]
	ld.w	r12,r8[0]
	st.w	--sp,r7
	mcall	r6[104]
	mov	r1,r3
	sub	sp,FFFFFFFC
	rjmp	00006D68

l00006D58:
	ld.w	r8,r6[148]
	mov	r11,r0
	ld.w	r12,r8[0]
	st.w	--sp,r7
	mcall	r6[104]
	sub	sp,FFFFFFFC

l00006D68:
	sub	r4,FFFFFFFF
	sub	r5,FFFFFFFC
	add	r3,r2

l00006D6E:
	ld.w	r7,r5[0]
	mov	r11,r3
	mov	r10,r2
	mov	r12,r1
	cp.w	r7,00000000
	brne	00006D38

l00006D7A:
	ld.w	r8,r6[148]
	ld.w	r11,r8[0]
	ld.w	r9,r11[16]
	ld.w	r8,r11[28]
	cp.w	r9,r8
	brcc	00006D90

l00006D88:
	mov	r8,0000000A
	st.b	r9++,r8
	st.w	r11[16],r9
	popm	r0-r3,r4-r7,pc

l00006D90:
	mov	r12,0000000A
	mcall	r6[52]
	popm	r0-r3,r4-r7,pc
00006D98                         FF FF 1D 28                     ...(   

;; fn00006D9C: 00006D9C
;;   Called from:
;;     00006E80 (in fn00006E5C)
fn00006D9C proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[60]
	rsub	r6,pc
	ld.w	r8,r6[804]
	ld.w	r5,r6[800]
	mov	r2,r11
	mov	r11,r12
	mov	r12,00000001
	cp.w	r10,FFFFFFFF
	moveq	r5,r8

l00006DB6:
	rcall	00009D80
	mov	r10,r2
	mov	r3,r12
	mov	r11,00000006
	mov	r12,00000000
	rcall	0000A7C8
	st.w	--sp,r3
	mov	r11,00000000
	st.w	--sp,r12
	mov	r10,r5
	mov	r12,r11
	mcall	r6[68]
	sub	sp,FFFFFFF8
	popm	r0-r3,r4-r7,pc
00006DD8                         FF FF 1D B0                     ....   

;; fn00006DDC: 00006DDC
;;   Called from:
;;     00006E76 (in fn00006E5C)
;;     00009334 (in fn000092D8)
fn00006DDC proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,0000000C
	lddpc	r6,pc[120]
	rsub	r6,pc
	mov	r5,r11
	mov	r1,r10
	mov	r2,r9
	stdsp	sp[0],r12
	mcall	r6[16]
	mov	r0,00000000
	mov	r3,r5
	mov	r4,r1
	mov	r5,FFFFFFFF
	stdsp	sp[8],r0
	stdsp	sp[4],r12
	rjmp	00006E3C

l00006DFE:
	mcall	r6[124]
	brne	00006E36

l00006E04:
	mov	r12,r7
	mcall	r6[16]
	mul	r8,r5,r2
	lddsp	r9,sp[4]
	cp.w	r12,r9
	brne	00006E18

l00006E14:
	mov	r5,r0
	rjmp	00006E50

l00006E18:
	cp.w	r5,FFFFFFFF
	brne	00006E20

l00006E1C:
	mov	r5,r0
	rjmp	00006E36

l00006E20:
	cp.w	r1,00000000
	breq	00006E32

l00006E24:
	add	r12,r1,r8
	mov	r11,r4
	mov	r10,r2
	mcall	r6[168]
	breq	00006E36

l00006E32:
	mov	r8,00000001
	stdsp	sp[8],r8

l00006E36:
	sub	r0,FFFFFFFF
	sub	r3,FFFFFFFC
	add	r4,r2

l00006E3C:
	ld.w	r7,r3[0]
	lddsp	r10,sp[4]
	lddsp	r11,sp[0]
	mov	r12,r7
	cp.w	r7,00000000
	brne	00006DFE

l00006E48:
	lddsp	r9,sp[8]
	cp.w	r9,00000000
	movne	r5,FFFFFFFE

l00006E50:
	mov	r12,r5
	sub	sp,FFFFFFF4
	popm	r0-r3,r4-r7,pc
00006E56                   D7 03 FF FF 1D F2                   ......   

;; fn00006E5C: 00006E5C
fn00006E5C proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[52]
	rsub	r6,pc
	mov	r7,r11
	mov	r2,r10
	mov	r4,r9
	mov	r3,r12
	mov	r9,r8
	mov	r10,r4
	mov	r11,r2
	mov	r12,r7
	mov	r5,r8
	lddsp	r1,sp[36]
	rcall	00006DDC
	brge	00006E8E

l00006E7A:
	mov	r10,r12
	mov	r11,r7
	mov	r12,r3
	rcall	00006D9C
	mov	r12,r2
	mov	r10,r5
	mov	r11,r4
	rcall	00006D14
	icall	r1
	mov	r12,FFFFFFFF

l00006E8E:
	popm	r0-r3,r4-r7,pc
00006E90 FF FF 1E 70                                     ...p           

;; fn00006E94: 00006E94
;;   Called from:
;;     00002C64 (in fn00002B30)
;;     00002CA4 (in fn00002B30)
;;     00003A8A (in fn00003A44)
;;     0000714E (in fn00007140)
fn00006E94 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[60]
	rsub	r6,pc
	rjmp	00006E9E

l00006E9C:
	sub	r12,FFFFFFFF

l00006E9E:
	ld.ub	r9,r12[0]
	mov	r8,0000002F
	cp.b	r9,r8
	breq	00006E9C

l00006EA8:
	mov	r9,r12
	mov	r11,00000000
	rjmp	00006EC6

l00006EAE:
	mov	r8,0000002F
	cp.b	r10,r8
	brne	00006EBA

l00006EB6:
	mov	r11,00000001
	rjmp	00006EC4

l00006EBA:
	mov	r10,00000000
	cp.w	r11,00000000
	breq	00006EC4

l00006EC0:
	mov	r12,r9
	mov	r11,r10

l00006EC4:
	sub	r9,FFFFFFFF

l00006EC6:
	ld.ub	r10,r9[0]
	cp.w	r10,00000000
	brne	00006EAE

l00006ECC:
	popm	r4-r7,pc
00006ECE                                           D7 03               ..
00006ED0 FF FF 1E A8                                     ....           

;; fn00006ED4: 00006ED4
;;   Called from:
;;     00007152 (in fn00007140)
fn00006ED4 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[40]
	rsub	r6,pc
	mov	r5,r12
	mcall	r6[16]
	add	r5,r12
	sub	r5,00000001
	rjmp	00006EE8

l00006EE6:
	sub	r12,00000001

l00006EE8:
	cp.w	r12,00000001
	brls	00006EFA

l00006EEE:
	ld.ub	r9,r5[0]
	mov	r8,0000002F
	sub	r5,00000001
	cp.b	r9,r8
	breq	00006EE6

l00006EFA:
	popm	r4-r7,pc
00006EFC                                     FF FF 1E E8             ....
00006F00 D4 21 49 16 1E 26 18 95 CC 6F 30 08 19 89 18 97 .!I..&...o0.....
00006F10 F0 09 18 00 C0 81 0A 9C CD EF 18 9B 0A 9C E0 A0 ................
00006F20 2D 99 D8 22 CD 8F 32 F8 EE 0C 07 0A F8 C9 FF FF -.."..2.........
00006F30 18 9B F0 0A 18 00 F2 0B 17 00 0E 9C E0 A0 2D 8A ..............-.
00006F40 D8 22 D7 03 FF FF 1F 14 D4 21 48 46 1E 26 EC F8 .".......!HF.&..
00006F50 01 08 91 0C D8 22 D7 03 FF FF 1F 5C D4 21 48 46 .....".....\.!HF
00006F60 1E 26 EC F8 01 08 B0 CC D8 22 D7 03 FF FF 1F 70 .&.......".....p
00006F70 D4 21 4A 16 1E 26 6C A8 70 0C E0 A0 2E D7 C2 E0 .!J..&l.p.......
00006F80 EC F5 01 08 30 08 0B C9 F0 09 18 00 C0 70 F0 16 ....0........p..
00006F90 00 07 78 08 E0 48 00 20 C2 10 6A 05 EC F7 03 1C ..x..H. ..j.....
00006FA0 58 05 C1 10 0A 9C E0 A0 1B E9 18 95 F0 16 00 07 X...............
00006FB0 1A D7 1A D5 EC FA 03 18 78 0B 30 0C F0 16 00 11 ........x.0.....
00006FC0 2F ED C1 28 F0 16 00 07 1A D7 EC FA 03 14 78 0B /..(..........x.
00006FD0 0A 9C F0 16 00 11 2F FD C0 78 EC F8 00 94 70 0C ....../..x....p.
00006FE0 E0 A0 2E A4 C0 60 EC F8 00 C0 70 0C F0 16 00 68 .....`....p....h
00006FF0 D8 22 D7 03 FF FF 1F 84                         ."......       

;; fn00006FF8: 00006FF8
;;   Called from:
;;     00007138 (in fn00007130)
fn00006FF8 proc
	mov	r8,r12
	andl	r8,F000,COH
	cp.w	r8,00008000
	brne	00007008

l00007004:
	mov	r10,0000002D
	rjmp	00007046

l00007008:
	cp.w	r8,00004000
	brne	00007012

l0000700E:
	mov	r10,00000064
	rjmp	00007046

l00007012:
	cp.w	r8,00006000
	brne	0000701C

l00007018:
	mov	r10,00000062
	rjmp	00007046

l0000701C:
	cp.w	r8,00002000
	brne	00007026

l00007022:
	mov	r10,00000063
	rjmp	00007046

l00007026:
	cp.w	r8,0000A000
	brne	00007030

l0000702C:
	mov	r10,0000006C
	rjmp	00007046

l00007030:
	cp.w	r8,00001000
	brne	0000703A

l00007036:
	mov	r10,00000070
	rjmp	00007046

l0000703A:
	cp.w	r8,0000C000
	movne	r10,0000003F

l00007042:
	moveq	r10,00000073

l00007046:
	mov	r8,r12
	andl	r8,0100,COH
	mov	r9,r12
	moveq	r8,0000002D

l00007052:
	movne	r8,00000072

l00007056:
	andl	r9,0080,COH
	moveq	r9,0000002D

l0000705E:
	movne	r9,00000077

l00007062:
	st.b	r11[1],r8
	mov	r8,r12
	st.b	r11[2],r9
	st.b	r11[0],r10
	mov	r9,r12
	andl	r8,0800,COH
	andl	r9,0040,COH
	cp.w	r8,00000000
	breq	00007084

l00007078:
	cp.w	r9,00000000
	moveq	r10,00000053

l0000707E:
	movne	r10,00000073

l00007082:
	rjmp	0000708E

l00007084:
	cp.w	r9,00000000
	moveq	r10,0000002D

l0000708A:
	movne	r10,00000078

l0000708E:
	mov	r8,r12
	andl	r8,0020,COH
	mov	r9,r12
	moveq	r8,0000002D

l0000709A:
	movne	r8,00000072

l0000709E:
	andl	r9,0010,COH
	moveq	r9,0000002D

l000070A6:
	movne	r9,00000077

l000070AA:
	st.b	r11[-4],r8
	mov	r8,r12
	st.b	r11[-3],r9
	st.b	r11[3],r10
	mov	r9,r12
	andl	r8,0400,COH
	andl	r9,0008,COH
	cp.w	r8,00000000
	breq	000070CC

l000070C0:
	cp.w	r9,00000000
	moveq	r10,00000053

l000070C6:
	movne	r10,00000073

l000070CA:
	rjmp	000070D6

l000070CC:
	cp.w	r9,00000000
	moveq	r10,0000002D

l000070D2:
	movne	r10,00000078

l000070D6:
	mov	r8,r12
	mov	r9,r12
	andl	r8,0004,COH
	andl	r9,0002,COH
	cp.w	r8,00000000
	moveq	r8,0000002D

l000070E8:
	movne	r8,00000072

l000070EC:
	cp.w	r9,00000000
	moveq	r9,0000002D

l000070F2:
	movne	r9,00000077

l000070F6:
	st.b	r11[-1],r8
	st.b	r11[-2],r10
	st.b	r11[8],r9
	bfextu	r8,r12,+00000000,+00000001
	bld	r12,+00000009
	brne	00007114

l00007108:
	cp.w	r8,00000000
	moveq	r9,00000054

l0000710E:
	movne	r9,00000074

l00007112:
	rjmp	0000711E

l00007114:
	cp.w	r8,00000000
	moveq	r9,0000002D

l0000711A:
	movne	r9,00000078

l0000711E:
	mov	r8,00000000
	st.b	r11[11],r8
	mov	r8,00000020
	st.b	r11[9],r9
	st.b	r11[10],r8
	ret	r12

;; fn00007130: 00007130
;;   Called from:
;;     00004BD6 (in fn00004968)
fn00007130 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[12]
	rsub	r6,pc
	ld.w	r12,r12[16]
	rcall	00006FF8
	popm	r4-r7,pc
0000713C                                     FF FF 21 44             ..!D

;; fn00007140: 00007140
;;   Called from:
;;     000071DA (in fn000071D4)
fn00007140 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000004
	lddpc	r6,pc[140]
	rsub	r6,pc
	mov	r0,r11
	stdsp	sp[0],r10
	mov	r1,r12
	rcall	00006E94
	mov	r7,r12
	rcall	00006ED4
	sub	r8,r7,r1
	add	r2,r8,r12
	cp.w	r12,00000000
	brne	00007164

l00007160:
	mov	r4,r12
	rjmp	00007174

l00007164:
	add	r8,r12,r7
	ld.ub	r9,r8[-1]
	mov	r8,0000002F
	cp.b	r9,r8
	srne	r4

l00007174:
	mov	r7,r0
	rjmp	0000717A

l00007178:
	sub	r7,FFFFFFFF

l0000717A:
	ld.ub	r8,r7[0]
	mov	r5,0000002F
	cp.b	r8,r5
	breq	00007178

l00007184:
	mov	r12,r7
	mcall	r6[16]
	mov	r3,r12
	sub	r12,FFFFFFFF
	add	r12,r2
	add	r12,r4
	mcall	r6[32]
	brne	0000719C

l00007198:
	mov	r2,r12
	rjmp	000071CA

l0000719C:
	mov	r10,r2
	mov	r11,r1
	mov	r2,r12
	mcall	r6[200]
	st.b	r12[0],r5
	lddsp	r10,sp[0]
	add	r12,r4
	cp.w	r10,00000000
	breq	000071BE

l000071B0:
	ld.ub	r8,r0[0]
	cp.b	r8,r5
	sreq	r8
	sub	r9,r12,r8
	st.w	r10[0],r9

l000071BE:
	mov	r10,r3
	mov	r11,r7
	mcall	r6[200]
	mov	r8,00000000
	st.b	r12[0],r8

l000071CA:
	mov	r12,r2
	sub	sp,FFFFFFFC
	popm	r0-r3,r4-r7,pc
000071D0 FF FF 21 56                                     ..!V           

;; fn000071D4: 000071D4
;;   Called from:
;;     00003AC8 (in fn00003A44)
fn000071D4 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[16]
	rsub	r6,pc
	rcall	00007140
	brne	000071E2

l000071DE:
	rcall	00006CAC

l000071E2:
	popm	r4-r7,pc
000071E4             FF FF 21 E8                             ..!.       

;; fn000071E8: 000071E8
;;   Called from:
;;     0000727C (in fn000071E8)
;;     000078A2 (in fn00007754)
fn000071E8 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[168]
	rsub	r6,pc
	ld.w	r3,r6[164]
	mov	r4,r12
	mov	r7,r12

l000071F6:
	sub	r7,FFFFFFFC
	ld.w	r9,r7[0]
	cp.w	r9,00000000
	breq	0000728C

l000071FE:
	cp.w	r9,0000005B
	brne	00007252

l00007204:
	ld.w	r5,r6[132]
	ld.w	r8,r5[0]
	cp.w	r8,00000000
	brne	0000721E

l0000720E:
	mov	r12,r3
	mcall	r6[56]
	moveq	r12,FFFFFFFF

l00007218:
	movne	r12,00000001

l0000721C:
	st.w	r5[0],r12

l0000721E:
	sub	r7,FFFFFFFC
	ld.w	r9,r7[0]
	cp.w	r9,00000021
	breq	00007234

l00007228:
	ld.w	r8,r5[0]
	cp.w	r8,00000000
	brge	00007236

l0000722E:
	cp.w	r9,0000005E
	brne	00007236

l00007234:
	sub	r7,FFFFFFFC

l00007236:
	ld.w	r8,r7[0]
	cp.w	r8,0000005D
	brne	00007248

l0000723E:
	sub	r7,FFFFFFFC
	rjmp	00007248

l00007242:
	sub	r7,FFFFFFFC
	cp.w	r8,00000000
	breq	0000728C

l00007248:
	ld.w	r8,r7[0]
	cp.w	r8,0000005D
	brne	00007242

l00007250:
	rjmp	000071F6

l00007252:
	cp.w	r9,0000003F
	breq	00007270

l00007258:
	cp.w	r9,0000002A
	breq	00007270

l0000725E:
	cp.w	r9,0000002B
	breq	00007270

l00007264:
	cp.w	r9,00000040
	breq	00007270

l0000726A:
	cp.w	r9,00000021
	brne	00007282

l00007270:
	ld.w	r8,r7[4]
	sub	r12,r7,FFFFFFFC
	cp.w	r8,00000028
	brne	00007282

l0000727C:
	rcall	000071E8
	mov	r7,r12
	rjmp	000071F6

l00007282:
	cp.w	r9,00000029
	brne	000071F6

l00007288:
	sub	r4,r7,FFFFFFFC

l0000728C:
	mov	r12,r4
	popm	r0-r3,r4-r7,pc
00007290 FF FF 21 FC                                     ..!.           

;; fn00007294: 00007294
;;   Called from:
;;     0000733E (in fn00007294)
;;     000082BE (in fn00008144)
fn00007294 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[192]
	rsub	r6,pc
	ld.w	r3,r6[164]
	mov	r4,r12
	mov	r7,r12

l000072A2:
	sub	r7,FFFFFFFF
	ld.ub	r10,r7[0]
	cp.w	r10,00000000
	breq	00007350

l000072AA:
	mov	r8,0000005B
	cp.b	r10,r8
	brne	00007308

l000072B2:
	ld.w	r5,r6[132]
	ld.w	r8,r5[0]
	cp.w	r8,00000000
	brne	000072CC

l000072BC:
	mov	r12,r3
	mcall	r6[56]
	moveq	r12,FFFFFFFF

l000072C6:
	movne	r12,00000001

l000072CA:
	st.w	r5[0],r12

l000072CC:
	sub	r7,FFFFFFFF
	ld.ub	r9,r7[0]
	mov	r8,00000021
	cp.b	r9,r8
	breq	000072E6

l000072D8:
	ld.w	r8,r5[0]
	cp.w	r8,00000000
	brge	000072E8

l000072DE:
	mov	r8,0000005E
	cp.b	r9,r8
	brne	000072E8

l000072E6:
	sub	r7,FFFFFFFF

l000072E8:
	ld.ub	r9,r7[0]
	mov	r8,0000005D
	cp.b	r9,r8
	brne	000072FC

l000072F2:
	sub	r7,FFFFFFFF
	rjmp	000072FC

l000072F6:
	sub	r7,FFFFFFFF
	cp.w	r9,00000000
	breq	00007350

l000072FC:
	ld.ub	r9,r7[0]
	mov	r8,0000005D
	cp.b	r9,r8
	brne	000072F6

l00007306:
	rjmp	000072A2

l00007308:
	mov	r8,0000003F
	cp.b	r10,r8
	breq	00007330

l00007310:
	mov	r8,0000002A
	cp.b	r10,r8
	breq	00007330

l00007318:
	mov	r8,0000002B
	cp.b	r10,r8
	breq	00007330

l00007320:
	mov	r8,00000040
	cp.b	r10,r8
	breq	00007330

l00007328:
	mov	r8,00000021
	cp.b	r10,r8
	brne	00007344

l00007330:
	sub	r12,r7,FFFFFFFF
	ld.ub	r9,r12[0]
	mov	r8,00000028
	cp.b	r9,r8
	brne	00007344

l0000733E:
	rcall	00007294
	mov	r7,r12
	rjmp	000072A2

l00007344:
	mov	r8,00000029
	cp.b	r10,r8
	brne	000072A2

l0000734C:
	sub	r4,r7,FFFFFFFF

l00007350:
	mov	r12,r4
	popm	r0-r3,r4-r7,pc
00007354             FF FF 22 A8                             ..".       

;; fn00007358: 00007358
;;   Called from:
;;     000077D8 (in fn00007754)
;;     0000786C (in fn00007754)
;;     00007CDE (in fn00007754)
fn00007358 proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,00000020
	lddpc	r6,pc[368]
	rsub	r6,pc
	st.w	r7[-20],r11
	mov	r2,r12
	ld.w	r12,r7[-20]
	mov	r11,00000000
	mov	lr,r7
	mov	r4,r12
	st.w	--lr,r11
	mov	r1,r10
	mov	r0,r9
	st.w	r7[-24],r8
	st.w	r7[-12],lr
	st.w	r7[-16],r11
	mcall	r6[560]
	ld.w	r3,r7[36]
	sub	r4,FFFFFFFC
	st.w	r7[-28],sp
	st.w	r7[-32],r4
	st.w	r7[-8],r12

l00007398:
	ld.w	r9,r4[0]
	cp.w	r9,00000000
	breq	00007736

l000073A0:
	cp.w	r9,0000005B
	brne	000073F8

l000073A6:
	ld.w	r5,r6[132]
	ld.w	r8,r5[0]
	cp.w	r8,00000000
	brne	000073C2

l000073B0:
	ld.w	r12,r6[164]
	mcall	r6[56]
	moveq	r12,FFFFFFFF

l000073BC:
	movne	r12,00000001

l000073C0:
	st.w	r5[0],r12

l000073C2:
	sub	r4,FFFFFFFC
	ld.w	r9,r4[0]
	cp.w	r9,00000021
	breq	000073D8

l000073CC:
	ld.w	r8,r5[0]
	cp.w	r8,00000000
	brge	000073DA

l000073D2:
	cp.w	r9,0000005E
	brne	000073DA

l000073D8:
	sub	r4,FFFFFFFC

l000073DA:
	ld.w	r8,r4[0]
	cp.w	r8,0000005D
	brne	000073EE

l000073E2:
	sub	r4,FFFFFFFC
	rjmp	000073EE

l000073E6:
	sub	r4,FFFFFFFC
	cp.w	r8,00000000
	breq	00007736

l000073EE:
	ld.w	r8,r4[0]
	cp.w	r8,0000005D
	brne	000073E6

l000073F6:
	rjmp	00007534

l000073F8:
	cp.w	r9,0000003F
	breq	00007416

l000073FE:
	cp.w	r9,0000002A
	breq	00007416

l00007404:
	cp.w	r9,0000002B
	breq	00007416

l0000740A:
	cp.w	r9,00000040
	breq	00007416

l00007410:
	cp.w	r9,00000021
	brne	0000742A

l00007416:
	ld.w	r8,r4[4]
	cp.w	r8,00000028
	brne	0000742A

l0000741E:
	ld.w	r9,r7[-16]
	sub	r9,FFFFFFFF
	st.w	r7[-16],r9
	rjmp	00007534

l0000742A:
	cp.w	r9,00000029
	brne	000074AC

l00007430:
	ld.w	r8,r7[-16]
	sub	r8,00000001
	st.w	r7[-16],r8
	cp.w	r8,FFFFFFFF
	brne	00007534

l0000743E:
	sub	r8,r2,0000003F
	cp.w	r8,00000001
	brhi	0000744E

l00007448:
	ld.w	r12,r7[-8]
	rjmp	0000745C

l0000744E:
	ld.w	lr,r7[-32]
	sub	r8,r4,lr
	asr	r8,+00000002
	sub	r12,r8,FFFFFFFF

l0000745C:
	lddpc	r8,pc[116]
	lsl	r10,r12,00000002
	sub	r9,r10,FFFFFFFC
	cp.w	r12,r8
	brhi	00007736

l0000746C:
	cp.w	r9,00000003
	brls	00007736

l00007472:
	cp.w	r9,00001F3F
	brhi	00007736

l0000747A:
	ld.w	r9,r7[-32]
	sub	r8,r10,FFFFFFF8
	sub	sp,r8
	sub	r10,r4,r9
	asr	r10,+00000002
	mov	r11,r9
	sub	r12,sp,FFFFFFFC
	mcall	r6[340]
	mov	r5,sp
	mov	r8,00000000
	st.w	r12[0],r8
	stdsp	sp[0],r8
	ld.w	r8,r7[-12]
	st.w	r8[0],sp
	ld.w	r8,r7[-4]
	cp.w	r8,00000000
	brne	0000754C

l000074AA:
	rjmp	00007538

l000074AC:
	cp.w	r9,0000007C
	brne	00007534

l000074B2:
	ld.w	lr,r7[-16]
	cp.w	lr,00000000
	brne	00007534

l000074BA:
	sub	r8,r2,0000003F
	cp.w	r8,00000001
	brhi	000074D4

l000074C4:
	ld.w	r9,r7[-8]
	rjmp	000074E2
000074CA                               D7 03 FF FF 23 70           ....#p
000074D0 3F FF FF FF                                     ?...           

l000074D4:
	ld.w	r9,r7[-32]
	sub	r8,r4,r9
	asr	r8,+00000002
	sub	r9,r8,FFFFFFFF

l000074E2:
	lddpc	r8,pc[332]
	lsl	r11,r9,00000002
	sub	r10,r11,FFFFFFFC
	cp.w	r9,r8
	brhi	00007736

l000074F2:
	cp.w	r10,00000003
	brls	00007736

l000074F8:
	cp.w	r10,00001F3F
	brhi	00007736

l00007500:
	sub	r8,r11,FFFFFFF8
	sub	sp,r8
	ld.w	r8,r7[-32]
	sub	r12,sp,FFFFFFFC
	sub	r10,r4,r8
	mov	r11,r8
	asr	r10,+00000002
	mcall	r6[340]
	mov	r5,sp
	sub	lr,r4,FFFFFFFC
	mov	r8,00000000
	st.w	r7[-32],lr
	st.w	r12[0],r8
	ld.w	r9,r7[-12]
	stdsp	sp[0],r8
	st.w	r9[0],sp
	st.w	r7[-12],sp

l00007534:
	sub	r4,FFFFFFFC
	rjmp	00007398

l00007538:
	sub	r9,pc,FFFFEC00
	ld.w	r11,r6[160]
	ld.w	r12,r6[376]
	mov	r10,0000044A
	mcall	r6[60]

l0000754C:
	ld.w	r8,r4[-4]
	cp.w	r8,00000029
	breq	0000756A

l00007556:
	sub	r9,pc,FFFFEC1E
	ld.w	r11,r6[160]
	ld.w	r12,r6[784]
	mov	r10,0000044B
	mcall	r6[60]

l0000756A:
	cp.w	r2,00000021
	breq	0000758C

l00007570:
	cp.w	r2,0000002A
	breq	00007590

l00007576:
	cp.w	r2,0000002B
	breq	000075A2

l0000757C:
	cp.w	r2,0000003F
	breq	00007662

l00007582:
	cp.w	r2,00000040
	brne	00007722

l0000758A:
	rjmp	00007672

l0000758C:
	mov	r2,r1
	rjmp	0000771A

l00007590:
	ld.w	r9,r7[-24]
	mov	r8,r3
	mov	r10,r0
	mov	r11,r1
	mov	r12,r4
	rcall	00007754
	breq	0000773A

l000075A2:
	mov	r5,r1
	rjmp	0000764C

l000075A6:
	mov	r8,r3
	ld.w	r12,r7[-4]
	bfextu	r2,r3,+00000000,+00000001
	cbr	r8,+00000002
	ld.w	r9,r7[-24]
	cp.w	r2,00000000
	movne	r8,r3

l000075BC:
	sub	r12,FFFFFFFC
	mov	r10,r5
	mov	r11,r1
	st.w	r7[-32],r9
	rcall	00007754
	brne	0000764A

l000075CA:
	mov	r8,r3
	cbr	r8,+00000002
	cp.w	r2,00000000
	moveq	r10,r8

l000075D4:
	movne	r10,r3

l000075D8:
	cp.w	r5,r1
	breq	000075FA

l000075DC:
	ld.w	r8,r5[-4]
	cp.w	r8,0000002F
	breq	000075EA

l000075E6:
	mov	r9,00000000
	rjmp	000075F4

l000075EA:
	mov	r8,r3
	andl	r8,0005,COH
	cp.w	r8,00000005
	sreq	r9

l000075F4:
	castu.b	r9
	st.w	r7[-32],r9

l000075FA:
	ld.w	r9,r7[-32]
	mov	r8,r10
	mov	r11,r5
	mov	r10,r0
	mov	r12,r4
	rcall	00007754
	breq	0000773A

l0000760C:
	cp.w	r5,r1
	breq	0000764A

l00007610:
	mov	r8,r3
	ld.w	r9,r5[-4]
	cbr	r8,+00000002
	cp.w	r2,00000000
	moveq	r10,r8

l0000761E:
	movne	r10,r3

l00007622:
	cp.w	r9,0000002F
	breq	00007630

l00007628:
	mov	r9,00000000
	rjmp	0000763A
0000762C                                     3F FF FF FF             ?...

l00007630:
	mov	r8,r3
	andl	r8,0005,COH
	cp.w	r8,00000005
	sreq	r9

l0000763A:
	ld.w	r12,r7[-20]
	mov	r8,r10
	mov	r11,r5
	mov	r10,r0
	sub	r12,00000004
	rcall	00007754
	breq	0000773A

l0000764A:
	sub	r5,FFFFFFFC

l0000764C:
	cp.w	r5,r0
	brls	000075A6

l00007652:
	ld.w	r8,r7[-4]
	ld.w	r8,r8[0]
	cp.w	r8,00000000
	breq	0000773E

l0000765C:
	st.w	r7[-4],r8
	rjmp	000075A2

l00007662:
	ld.w	r9,r7[-24]
	mov	r8,r3
	mov	r10,r0
	mov	r11,r1
	mov	r12,r4
	rcall	00007754
	breq	0000773A

l00007672:
	mov	r8,r3
	cbr	r8,+00000002
	mov	r2,r3
	st.w	r7[-32],r8

l0000767C:
	ld.w	r12,r7[-4]
	ld.w	lr,r7[-32]
	mov	r11,r4
	bfextu	r5,r3,+00000000,+00000001
	sub	r12,FFFFFFFC
	cp.w	r5,00000000
	moveq	r5,lr

l00007692:
	movne	r5,r2

l00007696:
	mcall	r6[412]
	ld.w	r9,r7[-24]
	mov	r8,r5
	mov	r10,r0
	mov	r11,r1
	rcall	00007754
	breq	0000773A

l000076A8:
	ld.w	r8,r7[-4]
	ld.w	r8,r8[0]
	cp.w	r8,00000000
	breq	0000773E

l000076B2:
	st.w	r7[-4],r8
	rjmp	0000767C

l000076B8:
	ld.w	r5,r7[-4]
	rjmp	000076C4

l000076BE:
	rcall	00007754
	breq	00007718

l000076C2:
	ld.w	r5,r5[0]

l000076C4:
	mov	r8,r3
	bfextu	r9,r3,+00000000,+00000001
	cbr	r8,+00000002
	cp.w	r9,00000000
	movne	r8,r3

l000076D2:
	sub	r12,r5,FFFFFFFC
	ld.w	r9,r7[-24]
	mov	r10,r2
	mov	r11,r1
	cp.w	r5,00000000
	brne	000076BE

l000076E2:
	rjmp	00007742

l000076E4:
	mov	r10,r3
	cbr	r10,+00000002

l000076E8:
	cp.w	r2,r1
	brne	000076F2

l000076EC:
	ld.w	r9,r7[-24]
	rjmp	0000770C

l000076F2:
	ld.w	r8,r2[-4]
	cp.w	r8,0000002F
	breq	00007700

l000076FC:
	mov	r9,00000000
	rjmp	0000770A

l00007700:
	mov	r8,r3
	andl	r8,0005,COH
	cp.w	r8,00000005
	sreq	r9

l0000770A:
	castu.b	r9

l0000770C:
	mov	r8,r10
	mov	r11,r2
	mov	r10,r0
	mov	r12,r4
	rcall	00007754
	breq	0000773A

l00007718:
	sub	r2,FFFFFFFC

l0000771A:
	cp.w	r2,r0
	brls	000076B8

l00007720:
	rjmp	0000773E

l00007722:
	sub	r9,pc,FFFFEDEA
	ld.w	r11,r6[160]
	ld.w	r12,r6[372]
	mov	r10,000004A5
	mcall	r6[60]

l00007736:
	mov	r12,FFFFFFFF
	rjmp	0000774C

l0000773A:
	mov	r12,00000000
	rjmp	0000774C

l0000773E:
	mov	r12,00000001
	rjmp	0000774C

l00007742:
	bld	r3,+00000000
	brne	000076E4

l00007748:
	mov	r10,r3
	rjmp	000076E8

l0000774C:
	ld.w	sp,r7[-28]
	sub	sp,FFFFFFE0
	popm	r0-r3,r4-r7,pc

;; fn00007754: 00007754
;;   Called from:
;;     0000759C (in fn00007358)
;;     000075C6 (in fn00007358)
;;     00007606 (in fn00007358)
;;     00007646 (in fn00007358)
;;     0000766E (in fn00007358)
;;     000076A4 (in fn00007358)
;;     000076BE (in fn00007358)
;;     00007714 (in fn00007358)
;;     00007970 (in fn00007754)
;;     000079B4 (in fn00007754)
;;     00007A10 (in fn00007754)
;;     000088EA (in fn000087C0)
fn00007754 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,00000520
	lddpc	r6,pc[344]
	rsub	r6,pc
	mov	r0,r9
	mov	r1,r8
	mov	r5,r12
	mov	r4,r11
	stdsp	sp[0],r10
	br	00007D22

l0000776C:
	mov	lr,r1
	andl	lr,0010,COH
	stdsp	sp[4],lr
	mov	r7,r12
	breq	0000777E

l00007778:
	mcall	r6[116]
	mov	r7,r12

l0000777E:
	sub	r5,FFFFFFFC
	cp.w	r7,00000021
	breq	00007CC4

l00007788:
	cp.w	r7,0000002A
	breq	0000784E

l0000778E:
	cp.w	r7,0000002B
	breq	00007CC4

l00007796:
	cp.w	r7,0000002F
	breq	00007CEA

l0000779E:
	cp.w	r7,0000003F
	breq	000077BE

l000077A4:
	cp.w	r7,00000040
	breq	00007CC4

l000077AC:
	cp.w	r7,0000005B
	breq	00007A22

l000077B4:
	cp.w	r7,0000005C
	brne	00007D06

l000077BC:
	rjmp	00007812

l000077BE:
	bld	r1,+00000005
	brne	000077E4

l000077C4:
	ld.w	r8,r5[0]
	cp.w	r8,00000028
	brne	000077E4

l000077CC:
	lddsp	r9,sp[0]
	mov	r12,r7
	mov	r8,r0
	mov	r10,r4
	mov	r11,r5
	st.w	--sp,r1
	rcall	00007358
	sub	sp,FFFFFFFC
	cp.w	r12,FFFFFFFF
	brne	00007D50

l000077E4:
	lddsp	r9,sp[0]
	cp.w	r4,r9
	breq	00007D40

l000077EC:
	ld.w	r8,r4[0]
	cp.w	r8,0000002F
	brne	00007800

l000077F4:
	bld	r1,+00000000
	brne	00007D1C

l000077FC:
	br	00007D40

l00007800:
	cp.w	r8,0000002E
	brne	00007D1C

l00007808:
	cp.w	r0,00000000
	breq	00007D1C

l0000780E:
	br	00007D40

l00007812:
	bld	r1,+00000001
	breq	00007830

l00007818:
	ld.w	r12,r5[0]
	cp.w	r12,00000000
	breq	00007D40

l00007820:
	lddsp	r8,sp[4]
	mov	r7,r12
	cp.w	r8,00000000
	breq	0000782E

l00007828:
	mcall	r6[116]
	mov	r7,r12

l0000782E:
	sub	r5,FFFFFFFC

l00007830:
	lddsp	lr,sp[0]
	cp.w	r4,lr
	breq	00007D40

l00007838:
	lddsp	r9,sp[4]
	ld.w	r12,r4[0]
	cp.w	r9,00000000
	breq	00007844

l00007840:
	mcall	r6[116]

l00007844:
	cp.w	r12,r7
	breq	00007D1C

l0000784A:
	br	00007D40

l0000784E:
	mov	r8,r1
	andl	r8,0020,COH
	stdsp	sp[20],r8
	breq	00007878

l00007858:
	ld.w	r8,r5[0]
	cp.w	r8,00000028
	brne	00007878

l00007860:
	lddsp	r9,sp[0]
	mov	r12,r7
	mov	r8,r0
	mov	r10,r4
	mov	r11,r5
	st.w	--sp,r1
	rcall	00007358
	sub	sp,FFFFFFFC
	cp.w	r12,FFFFFFFF
	brne	00007D50

l00007878:
	lddsp	lr,sp[0]
	cp.w	r4,lr
	breq	0000788C

l0000787E:
	ld.w	r8,r4[0]
	cp.w	r8,0000002E
	brne	0000788C

l00007886:
	cp.w	r0,00000000
	brne	00007D40

l0000788C:
	ld.w	r7,r5++
	mov	r2,r5
	rjmp	000078D4

l00007892:
	ld.w	r8,r2[0]
	cp.w	r8,00000028
	brne	000078B4

l0000789A:
	bld	r1,+00000005
	brne	000078B4

l000078A0:
	mov	r12,r2
	rcall	000071E8
	cp.w	r12,r2
	breq	000078B4

l000078AA:
	mov	r2,r12
	rjmp	000078D2
000078AE                                           D7 03               ..
000078B0 FF FF 27 6C                                     ..'l           

l000078B4:
	cp.w	r5,00000000
	breq	000078D2

l000078B8:
	lddsp	r9,sp[0]
	cp.w	r4,r9
	breq	00007D40

l000078C0:
	ld.w	r8,r4[0]
	cp.w	r8,0000002F
	brne	000078D0

l000078C8:
	bld	r1,+00000000
	breq	00007D40

l000078D0:
	sub	r4,FFFFFFFC

l000078D2:
	ld.w	r7,r2++

l000078D4:
	cp.w	r7,0000003F
	sreq	r5
	cp.w	r5,00000000
	brne	00007892

l000078DE:
	cp.w	r7,0000002A
	breq	00007892

l000078E4:
	mov	r5,r7
	bfextu	r8,r1,+00000000,+00000001
	cp.w	r7,00000000
	brne	00007912

l000078EE:
	mov	r12,r8
	cp.w	r8,00000000
	breq	00007D50

l000078F6:
	andl	r1,0008,COH
	breq	00007902

l000078FC:
	mov	r12,r7
	br	00007D50

l00007902:
	lddsp	r10,sp[0]
	mov	r12,r4
	sub	r10,r4
	asr	r10,+00000002
	mov	r11,0000002F
	mcall	r6[324]
	rjmp	000079B6

l00007912:
	lddsp	r10,sp[0]
	bfextu	r3,r8,+00000000,+00000008
	sub	r10,r4
	asr	r10,+00000002
	cp.w	r3,00000000
	movne	r11,0000002F

l00007922:
	moveq	r11,00000000

l00007926:
	mov	r12,r4
	mcall	r6[324]
	lddsp	r8,sp[0]
	movne	r8,r12

l00007932:
	stdsp	sp[12],r8
	cp.w	r7,0000005B
	breq	0000795A

l0000793A:
	lddsp	lr,sp[20]
	cp.w	lr,00000000
	breq	0000798E

l00007940:
	cp.w	r7,00000040
	breq	00007952

l00007946:
	cp.w	r7,0000002B
	breq	00007952

l0000794C:
	cp.w	r7,00000021
	brne	0000798E

l00007952:
	ld.w	r8,r2[0]
	cp.w	r8,00000028
	brne	0000798E

l0000795A:
	mov	r8,r1
	cbr	r8,+00000002
	cp.w	r3,00000000
	moveq	r5,r8

l00007964:
	movne	r5,r1

l00007968:
	sub	r7,r2,00000004
	mov	r9,r0
	rjmp	0000797C

l00007970:
	rcall	00007754
	sub	r4,FFFFFFFC
	mov	r9,00000000
	cp.w	r12,00000000
	breq	00007D44

l0000797C:
	lddsp	lr,sp[12]
	mov	r11,r4
	mov	r8,r5
	lddsp	r10,sp[0]
	mov	r12,r7
	cp.w	r4,lr
	brcs	00007970

l0000798A:
	br	00007D40

l0000798E:
	cp.w	r7,0000002F
	brne	000079BE

l00007994:
	cp.w	r3,00000000
	breq	000079C6

l00007998:
	lddsp	r9,sp[0]
	cp.w	r4,r9
	brcc	00007D40

l000079A0:
	ld.w	r8,r4++
	mov	r11,r4
	cp.w	r8,0000002F
	brne	00007998

l000079AA:
	mov	r10,r9
	mov	r8,r1
	mov	r12,r2
	bfextu	r9,r1,+00000002,+00000001
	rcall	00007754

l000079B6:
	cp.w	r12,00000000
	srne	r12
	br	00007D50

l000079BE:
	cp.w	r3,00000000
	breq	000079C6

l000079C2:
	stdsp	sp[16],r1
	rjmp	000079CC

l000079C6:
	mov	r8,r1
	cbr	r8,+00000002
	stdsp	sp[16],r8

l000079CC:
	cp.w	r7,0000005C
	breq	000079D6

l000079D2:
	mov	r5,r7
	rjmp	000079DE

l000079D6:
	andl	r1,0002,COH
	brne	000079DE

l000079DC:
	ld.w	r5,r2[0]

l000079DE:
	lddsp	lr,sp[4]
	cp.w	lr,00000000
	breq	000079EC

l000079E4:
	mov	r12,r5
	mcall	r6[116]
	mov	r5,r12

l000079EC:
	mov	r7,r0
	sub	r3,r2,00000004
	rjmp	00007A1A

l000079F4:
	lddsp	r9,sp[4]
	ld.w	r12,r4[0]
	cp.w	r9,00000000
	breq	00007A00

l000079FC:
	mcall	r6[116]

l00007A00:
	cp.w	r12,r5
	brne	00007A16

l00007A04:
	lddsp	r8,sp[16]
	lddsp	r10,sp[0]
	cp.w	r7,00000000
	srne	r9
	mov	r11,r4
	mov	r12,r3
	rcall	00007754
	breq	00007D44

l00007A16:
	sub	r4,FFFFFFFC
	mov	r7,00000000

l00007A1A:
	lddsp	r8,sp[12]
	cp.w	r4,r8
	brcs	000079F4

l00007A20:
	rjmp	00007D40

l00007A22:
	ld.w	r7,r6[132]
	ld.w	r8,r7[0]
	cp.w	r8,00000000
	brne	00007A3E

l00007A2C:
	ld.w	r12,r6[164]
	mcall	r6[56]
	moveq	r12,FFFFFFFF

l00007A38:
	movne	r12,00000001

l00007A3C:
	st.w	r7[0],r12

l00007A3E:
	lddsp	lr,sp[0]
	cp.w	r4,lr
	breq	00007D40

l00007A46:
	ld.w	r12,r4[0]
	cp.w	r12,0000002E
	brne	00007A54

l00007A4E:
	cp.w	r0,00000000
	breq	00007A62

l00007A52:
	rjmp	00007D40

l00007A54:
	cp.w	r12,0000002F
	brne	00007A62

l00007A5A:
	bld	r1,+00000000
	breq	00007D40

l00007A62:
	ld.w	r9,r5[0]
	cp.w	r9,00000021
	brne	00007A6E

l00007A6A:
	mov	r8,00000001
	rjmp	00007A82

l00007A6E:
	ld.w	r8,r6[132]
	ld.w	r8,r8[0]
	cp.w	r8,00000000
	brlt	00007A7C

l00007A78:
	mov	r8,00000000
	rjmp	00007A82

l00007A7C:
	cp.w	r9,0000005E
	sreq	r8

l00007A82:
	lddsp	r9,sp[4]
	bfextu	r2,r8,+00000000,+00000008
	sub	r8,r5,FFFFFFFC
	cp.w	r2,00000000
	movne	r5,r8

l00007A92:
	cp.w	r9,00000000
	breq	00007A9A

l00007A96:
	mcall	r6[116]

l00007A9A:
	mov	r8,r1
	mov	r7,r12
	eorl	r8,0002
	ld.w	r12,r5++
	bfextu	r0,r8,+00000001,+00000001

l00007AA8:
	stdsp	sp[8],r0
	cp.w	r0,00000000
	breq	00007ACA

l00007AAE:
	cp.w	r12,0000005C
	brne	00007ACA

l00007AB4:
	ld.w	r12,r5[0]
	cp.w	r12,00000000
	breq	00007D40

l00007ABC:
	lddsp	r8,sp[4]
	cp.w	r8,00000000
	breq	00007AC6

l00007AC2:
	mcall	r6[116]

l00007AC6:
	sub	r5,FFFFFFFC
	rjmp	00007BA4

l00007ACA:
	cp.w	r12,0000005B
	brne	00007B94

l00007AD0:
	ld.w	r8,r5[0]
	cp.w	r8,0000003A
	brne	00007B9A

l00007AD8:
	sub	lr,sp,FFFFFFE8
	mov	r3,r5
	mov	r10,00000000

l00007AE0:
	sub	r3,FFFFFFFC
	ld.w	r9,r3[0]
	sub	r11,r9,00000061
	cp.w	r9,0000003A
	brne	00007B6C

l00007AEE:
	ld.w	r8,r3[4]
	cp.w	r8,0000005D
	brne	00007B6C

l00007AF6:
	sub	lr,sp,FFFFFAE0
	add	r9,lr,r10<<2
	mov	r8,00000000
	sub	r10,sp,FFFFFFE8
	sub	r11,sp,FFFFFBE4
	st.w	r9[-1288],r8

l00007B0C:
	ld.w	r9,r10[0]
	cp.w	r9,00000020
	brlt	00007D40

l00007B16:
	cp.w	r9,00000023
	brle	00007B48

l00007B1E:
	cp.w	r9,00000025
	brlt	00007D40

l00007B26:
	cp.w	r9,0000003F
	brle	00007B48

l00007B2E:
	cp.w	r9,00000041
	brlt	00007D40

l00007B36:
	sub	r8,r9,00000061
	cp.w	r9,0000005F
	brle	00007B48

l00007B42:
	cp.w	r8,0000001D
	brhi	00007D40

l00007B48:
	sub	r8,sp,FFFFFBE8
	cp.w	r10,r8
	breq	00007D40

l00007B52:
	sub	r10,FFFFFFFC
	st.b	r11++,r9
	ld.w	r8,r10[0]
	cp.w	r8,00000000
	brne	00007B0C

l00007B5C:
	sub	r12,sp,FFFFFBE4
	st.b	r11[0],r8
	mcall	r6[300]
	mov	r11,r12
	brne	00007B80

l00007B6A:
	rjmp	00007D40

l00007B6C:
	sub	r10,FFFFFFFF
	cp.w	r11,00000018
	brhi	00007BA4

l00007B74:
	cp.w	r10,00000100
	breq	00007D40

l00007B7C:
	st.w	lr++,r9
	rjmp	00007AE0

l00007B80:
	ld.w	r12,r4[0]
	sub	r5,r3,FFFFFFF8
	mcall	r6[308]
	brne	00007C06

l00007B8C:
	ld.w	r8,r5[0]
	sub	r5,r3,FFFFFFF4
	rjmp	00007BF4

l00007B94:
	cp.w	r12,00000000
	breq	00007D40

l00007B9A:
	lddsp	r9,sp[4]
	cp.w	r9,00000000
	breq	00007BA4

l00007BA0:
	mcall	r6[116]

l00007BA4:
	ld.w	r9,r5[0]
	cp.w	r9,0000002D
	brne	00007D48

l00007BAE:
	ld.w	r8,r5[4]
	cp.w	r8,00000000
	breq	00007D48

l00007BB6:
	cp.w	r8,0000005D
	breq	00007D48

l00007BBE:
	mov	r8,r9
	sub	r5,FFFFFFFC
	cp.w	r9,0000002D
	brne	00007BF4

l00007BC8:
	ld.w	r9,r5[0]
	cp.w	r9,0000005D
	breq	00007BFA

l00007BD0:
	mov	r8,r9
	sub	r5,FFFFFFFC
	cp.w	r0,00000000
	breq	00007BE0

l00007BD8:
	cp.w	r9,0000005C
	brne	00007BE0

l00007BDE:
	ld.w	r8,r5++

l00007BE0:
	cp.w	r8,00000000
	breq	00007D40

l00007BE6:
	cp.w	r12,r7
	brhi	00007BF2

l00007BEC:
	cp.w	r7,r8
	brls	00007C06

l00007BF2:
	ld.w	r8,r5++

l00007BF4:
	cp.w	r8,0000005D
	breq	00007BFE

l00007BFA:
	mov	r12,r8
	rjmp	00007AA8

l00007BFE:
	cp.w	r2,00000000
	brne	00007D1C

l00007C04:
	rjmp	00007D40

l00007C06:
	ld.w	r8,r5[0]
	mov	r12,r5
	cp.w	r8,00000000
	breq	00007D40

l00007C10:
	lddsp	lr,sp[8]
	sub	r5,FFFFFFFC
	mov	r10,r8
	cp.w	lr,00000000
	breq	00007C2C

l00007C1A:
	cp.w	r8,0000005C
	brne	00007C2C

l00007C20:
	ld.w	r8,r5[0]
	cp.w	r8,00000000
	breq	00007D40

l00007C28:
	sub	r5,FFFFFFFC
	rjmp	00007CB8

l00007C2C:
	cp.w	r8,0000005B
	brne	00007CB8

l00007C32:
	ld.w	r8,r5[0]
	cp.w	r8,0000003A
	brne	00007C6A

l00007C3A:
	mov	r9,r5

l00007C3C:
	sub	r9,FFFFFFFC
	sub	r8,r12,FFFFFBFC
	ld.w	r10,r9[0]
	cp.w	r9,r8
	breq	00007D40

l00007C48:
	sub	r11,r10,00000061
	cp.w	r10,0000003A
	brne	00007C5A

l00007C52:
	ld.w	r8,r9[4]
	cp.w	r8,0000005D
	breq	00007C62

l00007C5A:
	cp.w	r11,00000018
	brhi	00007C06

l00007C60:
	rjmp	00007C3C

l00007C62:
	ld.w	r10,r9[8]
	sub	r5,r9,FFFFFFF4
	rjmp	00007CB8

l00007C6A:
	cp.w	r8,0000003D
	brne	00007C92

l00007C70:
	ld.w	r8,r5[4]
	sub	r9,r5,FFFFFFFC
	cp.w	r8,00000000
	breq	00007D40

l00007C7A:
	sub	r9,FFFFFFFC
	ld.w	r8,r9[0]
	cp.w	r8,0000003D
	brne	00007D40

l00007C84:
	ld.w	r8,r9[4]
	cp.w	r8,0000005D
	brne	00007D40

l00007C8C:
	ld.w	r10,r5[16]
	sub	r5,FFFFFFEC
	rjmp	00007CB8

l00007C92:
	cp.w	r8,0000002E
	brne	00007C06

l00007C98:
	sub	r12,r5,FFFFFFFC

l00007C9C:
	sub	r12,FFFFFFFC
	ld.w	r8,r12[0]
	cp.w	r8,00000000
	breq	00007D40

l00007CA4:
	cp.w	r8,0000002E
	brne	00007C9C

l00007CAA:
	ld.w	r8,r12[4]
	cp.w	r8,0000005D
	brne	00007C9C

l00007CB2:
	ld.w	r10,r12[8]
	sub	r5,r12,FFFFFFF4

l00007CB8:
	cp.w	r10,0000005D
	brne	00007C06

l00007CBE:
	cp.w	r2,00000000
	breq	00007D1C

l00007CC2:
	rjmp	00007D40

l00007CC4:
	bld	r1,+00000005
	brne	00007D06

l00007CCA:
	ld.w	r8,r5[0]
	cp.w	r8,00000028
	brne	00007D06

l00007CD2:
	lddsp	r9,sp[0]
	mov	r8,r0
	mov	r10,r4
	mov	r11,r5
	mov	r12,r7
	st.w	--sp,r1
	rcall	00007358
	sub	sp,FFFFFFFC
	cp.w	r12,FFFFFFFF
	breq	00007D06

l00007CE8:
	rjmp	00007D50

l00007CEA:
	mov	r8,r1
	andl	r8,0005,COH
	cp.w	r8,00000005
	brne	00007D06

l00007CF4:
	lddsp	r9,sp[0]
	cp.w	r4,r9
	breq	00007D40

l00007CFA:
	ld.w	r8,r4[0]
	cp.w	r8,0000002F
	brne	00007D40

l00007D02:
	mov	r9,00000001
	rjmp	00007D1E

l00007D06:
	lddsp	r8,sp[0]
	cp.w	r4,r8
	breq	00007D40

l00007D0C:
	lddsp	lr,sp[4]
	ld.w	r12,r4[0]
	cp.w	lr,00000000
	breq	00007D18

l00007D14:
	mcall	r6[116]

l00007D18:
	cp.w	r7,r12
	brne	00007D40

l00007D1C:
	mov	r9,00000000

l00007D1E:
	sub	r4,FFFFFFFC
	mov	r0,r9

l00007D22:
	ld.w	r12,r5[0]
	cp.w	r12,00000000
	brne	0000776C

l00007D2A:
	lddsp	r9,sp[0]
	cp.w	r4,r9
	breq	00007D44

l00007D30:
	andl	r1,0008,COH
	breq	00007D40

l00007D36:
	ld.w	r8,r4[0]
	cp.w	r8,0000002F
	srne	r12
	rjmp	00007D50

l00007D40:
	mov	r12,00000001
	rjmp	00007D50

l00007D44:
	mov	r12,00000000
	rjmp	00007D50

l00007D48:
	cp.w	r12,r7
	brne	00007BBE

l00007D4E:
	rjmp	00007C06

l00007D50:
	sub	sp,FFFFFAE0
	popm	r0-r3,r4-r7,pc

;; fn00007D56: 00007D56
;;   Called from:
;;     000081DE (in fn00008144)
;;     0000827E (in fn00008144)
;;     0000873C (in fn00008144)
fn00007D56 proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,00000020
	lddpc	r6,pc[368]
	rsub	r6,pc
	st.w	r7[-20],r11
	mov	r2,r12
	ld.w	r12,r7[-20]
	mov	r11,00000000
	mov	lr,r7
	mov	r4,r12
	st.w	--lr,r11
	mov	r1,r10
	mov	r0,r9
	st.w	r7[-24],r8
	st.w	r7[-12],lr
	st.w	r7[-16],r11
	mcall	r6[16]
	ld.w	r3,r7[36]
	sub	r4,FFFFFFFF
	st.w	r7[-28],sp
	st.w	r7[-32],r4
	st.w	r7[-8],r12

l00007D96:
	ld.ub	r10,r4[0]
	cp.w	r10,00000000
	breq	00008124

l00007D9E:
	mov	r8,0000005B
	cp.b	r10,r8
	brne	00007E00

l00007DA6:
	ld.w	r5,r6[132]
	ld.w	r8,r5[0]
	cp.w	r8,00000000
	brne	00007DC2

l00007DB0:
	ld.w	r12,r6[164]
	mcall	r6[56]
	moveq	r12,FFFFFFFF

l00007DBC:
	movne	r12,00000001

l00007DC0:
	st.w	r5[0],r12

l00007DC2:
	sub	r4,FFFFFFFF
	ld.ub	r9,r4[0]
	mov	r8,00000021
	cp.b	r9,r8
	breq	00007DDC

l00007DCE:
	ld.w	r8,r5[0]
	cp.w	r8,00000000
	brge	00007DDE

l00007DD4:
	mov	r8,0000005E
	cp.b	r9,r8
	brne	00007DDE

l00007DDC:
	sub	r4,FFFFFFFF

l00007DDE:
	ld.ub	r9,r4[0]
	mov	r8,0000005D
	cp.b	r9,r8
	brne	00007DF4

l00007DE8:
	sub	r4,FFFFFFFF
	rjmp	00007DF4

l00007DEC:
	sub	r4,FFFFFFFF
	cp.w	r9,00000000
	breq	00008124

l00007DF4:
	ld.ub	r9,r4[0]
	mov	r8,0000005D
	cp.b	r9,r8
	brne	00007DEC

l00007DFE:
	rjmp	00007F16

l00007E00:
	mov	r8,0000003F
	cp.b	r10,r8
	breq	00007E28

l00007E08:
	mov	r8,0000002A
	cp.b	r10,r8
	breq	00007E28

l00007E10:
	mov	r8,0000002B
	cp.b	r10,r8
	breq	00007E28

l00007E18:
	mov	r8,00000040
	cp.b	r10,r8
	breq	00007E28

l00007E20:
	mov	r8,00000021
	cp.b	r10,r8
	brne	00007E3E

l00007E28:
	ld.ub	r9,r4[1]
	mov	r8,00000028
	cp.b	r9,r8
	brne	00007E3E

l00007E32:
	ld.w	r9,r7[-16]
	sub	r9,FFFFFFFF
	st.w	r7[-16],r9
	rjmp	00007F16

l00007E3E:
	mov	r8,00000029
	cp.b	r10,r8
	brne	00007EAC

l00007E46:
	ld.w	r8,r7[-16]
	sub	r8,00000001
	st.w	r7[-16],r8
	cp.w	r8,FFFFFFFF
	brne	00007F16

l00007E54:
	sub	r8,r2,0000003F
	cp.w	r8,00000001
	brhi	00007E64

l00007E5E:
	ld.w	r12,r7[-8]
	rjmp	00007E70

l00007E64:
	ld.w	lr,r7[-32]
	sub	r8,r4,FFFFFFFF
	sub	r12,r8,lr

l00007E70:
	cp.w	r12,00001F3B
	brhi	00008124

l00007E78:
	sub	r8,r12,FFFFFFF6
	andl	r8,FFFC
	ld.w	r11,r7[-32]
	sub	sp,r8
	sub	r10,r4,r11
	sub	r12,sp,FFFFFFFC
	mcall	r6[200]
	mov	r5,sp
	mov	r8,00000000
	st.b	r12[0],r8
	mov	r8,00000000
	ld.w	r9,r7[-12]
	stdsp	sp[0],r8
	st.w	r9[0],sp
	ld.w	r8,r7[-4]
	cp.w	r8,00000000
	brne	00007F30

l00007EAA:
	rjmp	00007F1A

l00007EAC:
	mov	r8,0000007C
	cp.b	r10,r8
	brne	00007F16

l00007EB4:
	ld.w	r8,r7[-16]
	cp.w	r8,00000000
	brne	00007F16

l00007EBC:
	sub	r8,r2,0000003F
	cp.w	r8,00000001
	brhi	00007ED0

l00007EC6:
	ld.w	r8,r7[-8]
	rjmp	00007EDA
00007ECC                                     FF FF 2D 6E             ..-n

l00007ED0:
	ld.w	lr,r7[-32]
	sub	r8,r4,FFFFFFFF
	sub	r8,lr

l00007EDA:
	cp.w	r8,00001F3B
	brhi	00008124

l00007EE2:
	sub	r8,FFFFFFF6
	andl	r8,FFFC
	ld.w	r11,r7[-32]
	sub	sp,r8
	sub	r10,r4,r11
	sub	r12,sp,FFFFFFFC
	mcall	r6[200]
	mov	r5,sp
	sub	r9,r4,FFFFFFFF
	st.w	r7[-32],r9
	mov	r8,00000000
	st.b	r12[0],r8
	mov	r8,00000000
	stdsp	sp[0],r8
	ld.w	r8,r7[-12]
	st.w	r8[0],sp
	st.w	r7[-12],sp

l00007F16:
	sub	r4,FFFFFFFF
	rjmp	00007D96

l00007F1A:
	sub	r9,pc,FFFFF5E2
	ld.w	r11,r6[160]
	ld.w	r12,r6[376]
	sub	r9,FFFFFFF4
	mov	r10,0000044A
	mcall	r6[60]

l00007F30:
	ld.ub	r9,r4[-1]
	mov	r8,00000029
	cp.b	r9,r8
	breq	00007F52

l00007F3C:
	sub	r9,pc,FFFFF604
	ld.w	r11,r6[160]
	ld.w	r12,r6[780]
	sub	r9,FFFFFFF4
	mov	r10,0000044B
	mcall	r6[60]

l00007F52:
	cp.w	r2,00000021
	breq	00007F74

l00007F58:
	cp.w	r2,0000002A
	breq	00007F78

l00007F5E:
	cp.w	r2,0000002B
	breq	00007F8A

l00007F64:
	cp.w	r2,0000003F
	breq	0000804C

l00007F6A:
	cp.w	r2,00000040
	brne	0000810E

l00007F72:
	rjmp	0000805C

l00007F74:
	mov	r2,r1
	rjmp	00008106

l00007F78:
	ld.w	r9,r7[-24]
	mov	r8,r3
	mov	r10,r0
	mov	r11,r1
	mov	r12,r4
	rcall	00008144
	breq	00008128

l00007F8A:
	mov	r5,r1
	rjmp	00008034

l00007F8E:
	mov	r8,r3
	ld.w	r12,r7[-4]
	bfextu	r2,r3,+00000000,+00000001
	cbr	r8,+00000002
	ld.w	r9,r7[-24]
	cp.w	r2,00000000
	movne	r8,r3

l00007FA4:
	sub	r12,FFFFFFFC
	mov	r10,r5
	mov	r11,r1
	st.w	r7[-32],r9
	rcall	00008144
	brne	00008032

l00007FB2:
	mov	r8,r3
	cbr	r8,+00000002
	cp.w	r2,00000000
	moveq	r10,r8

l00007FBC:
	movne	r10,r3

l00007FC0:
	cp.w	r5,r1
	breq	00007FE4

l00007FC4:
	ld.ub	r9,r5[-1]
	mov	r8,0000002F
	cp.b	r9,r8
	breq	00007FD4

l00007FD0:
	mov	r9,00000000
	rjmp	00007FDE

l00007FD4:
	mov	r8,r3
	andl	r8,0005,COH
	cp.w	r8,00000005
	sreq	r9

l00007FDE:
	castu.b	r9
	st.w	r7[-32],r9

l00007FE4:
	ld.w	r9,r7[-32]
	mov	r8,r10
	mov	r11,r5
	mov	r10,r0
	mov	r12,r4
	rcall	00008144
	breq	00008128

l00007FF6:
	cp.w	r5,r1
	breq	00008032

l00007FFA:
	mov	r9,r3
	ld.ub	r8,r5[-1]
	cbr	r9,+00000002
	cp.w	r2,00000000
	moveq	r10,r9

l00008008:
	movne	r10,r3

l0000800C:
	mov	r9,0000002F
	cp.b	r8,r9
	breq	00008018

l00008014:
	mov	r9,00000000
	rjmp	00008022

l00008018:
	mov	r8,r3
	andl	r8,0005,COH
	cp.w	r8,00000005
	sreq	r9

l00008022:
	ld.w	r12,r7[-20]
	mov	r8,r10
	mov	r11,r5
	mov	r10,r0
	sub	r12,00000001
	rcall	00008144
	breq	00008128

l00008032:
	sub	r5,FFFFFFFF

l00008034:
	cp.w	r5,r0
	brls	00007F8E

l0000803A:
	ld.w	r8,r7[-4]
	ld.w	r8,r8[0]
	cp.w	r8,00000000
	breq	0000812C

l00008044:
	st.w	r7[-4],r8
	rjmp	00007F8A
0000804A                               D7 03                       ..   

l0000804C:
	ld.w	r9,r7[-24]
	mov	r8,r3
	mov	r10,r0
	mov	r11,r1
	mov	r12,r4
	rcall	00008144
	breq	00008128

l0000805C:
	mov	lr,r3
	cbr	lr,+00000002
	mov	r2,r3
	st.w	r7[-32],lr

l00008066:
	ld.w	r12,r7[-4]
	ld.w	r9,r7[-32]
	mov	r11,r4
	bfextu	r5,r3,+00000000,+00000001
	sub	r12,FFFFFFFC
	cp.w	r5,00000000
	moveq	r5,r9

l0000807C:
	movne	r5,r2

l00008080:
	mcall	r6[512]
	ld.w	r9,r7[-24]
	mov	r8,r5
	mov	r10,r0
	mov	r11,r1
	rcall	00008144
	breq	00008128

l00008092:
	ld.w	r8,r7[-4]
	ld.w	r8,r8[0]
	cp.w	r8,00000000
	breq	0000812C

l0000809C:
	st.w	r7[-4],r8
	rjmp	00008066

l000080A2:
	ld.w	r5,r7[-4]
	rjmp	000080AE

l000080A8:
	rcall	00008144
	breq	00008104

l000080AC:
	ld.w	r5,r5[0]

l000080AE:
	mov	r8,r3
	bfextu	r9,r3,+00000000,+00000001
	cbr	r8,+00000002
	cp.w	r9,00000000
	movne	r8,r3

l000080BC:
	sub	r12,r5,FFFFFFFC
	ld.w	r9,r7[-24]
	mov	r10,r2
	mov	r11,r1
	cp.w	r5,00000000
	brne	000080A8

l000080CC:
	rjmp	00008130

l000080CE:
	mov	r10,r3
	cbr	r10,+00000002

l000080D2:
	cp.w	r2,r1
	brne	000080DC

l000080D6:
	ld.w	r9,r7[-24]
	rjmp	000080F8

l000080DC:
	ld.ub	r9,r2[-1]
	mov	r8,0000002F
	cp.b	r9,r8
	breq	000080EC

l000080E8:
	mov	r9,00000000
	rjmp	000080F6

l000080EC:
	mov	r8,r3
	andl	r8,0005,COH
	cp.w	r8,00000005
	sreq	r9

l000080F6:
	castu.b	r9

l000080F8:
	mov	r8,r10
	mov	r11,r2
	mov	r10,r0
	mov	r12,r4
	rcall	00008144
	breq	00008128

l00008104:
	sub	r2,FFFFFFFF

l00008106:
	cp.w	r2,r0
	brls	000080A2

l0000810C:
	rjmp	0000812C

l0000810E:
	sub	r9,pc,FFFFF7D6
	ld.w	r11,r6[160]
	ld.w	r12,r6[372]
	sub	r9,FFFFFFF4
	mov	r10,000004A5
	mcall	r6[60]

l00008124:
	mov	r12,FFFFFFFF
	rjmp	0000813A

l00008128:
	mov	r12,00000000
	rjmp	0000813A

l0000812C:
	mov	r12,00000001
	rjmp	0000813A

l00008130:
	bld	r3,+00000000
	brne	000080CE

l00008136:
	mov	r10,r3
	rjmp	000080D2

l0000813A:
	ld.w	sp,r7[-28]
	sub	sp,FFFFFFE0
	popm	r0-r3,r4-r7,pc
00008142       D7 03                                       ..           

;; fn00008144: 00008144
;;   Called from:
;;     00007F84 (in fn00007D56)
;;     00007FAE (in fn00007D56)
;;     00007FF0 (in fn00007D56)
;;     0000802E (in fn00007D56)
;;     00008058 (in fn00007D56)
;;     0000808E (in fn00007D56)
;;     000080A8 (in fn00007D56)
;;     00008100 (in fn00007D56)
;;     00008392 (in fn00008144)
;;     000083DA (in fn00008144)
;;     00008442 (in fn00008144)
;;     00008928 (in fn000087C0)
fn00008144 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,0000011C
	lddpc	r6,pc[352]
	rsub	r6,pc
	mov	r0,r9
	mov	r1,r8
	mov	r5,r12
	mov	r4,r11
	stdsp	sp[4],r10
	br	00008788

l0000815C:
	mov	lr,r1
	andl	lr,0010,COH
	stdsp	sp[8],lr
	breq	00008172

l00008166:
	ld.w	r8,r6[-32]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r7<<1]
	bfextu	r7,r8,+00000000,+00000008

l00008172:
	mov	r8,00000021
	sub	r5,FFFFFFFF
	cp.b	r7,r8
	breq	00008720

l0000817E:
	mov	r8,0000002A
	cp.b	r7,r8
	breq	0000825E

l00008186:
	mov	r8,0000002B
	cp.b	r7,r8
	breq	00008720

l00008190:
	mov	r3,0000002F
	cp.b	r7,r3
	breq	00008748

l0000819A:
	mov	r8,0000003F
	cp.b	r7,r8
	breq	000081C2

l000081A2:
	mov	r8,00000040
	cp.b	r7,r8
	breq	00008720

l000081AC:
	mov	r8,0000005B
	cp.b	r7,r8
	breq	00008454

l000081B6:
	mov	r8,0000005C
	cp.b	r7,r8
	brne	00008764

l000081C0:
	rjmp	00008216

l000081C2:
	bld	r1,+00000005
	brne	000081EA

l000081C8:
	ld.ub	r9,r5[0]
	mov	r8,00000028
	cp.b	r9,r8
	brne	000081EA

l000081D2:
	lddsp	r9,sp[4]
	mov	r12,r7
	mov	r8,r0
	mov	r10,r4
	mov	r11,r5
	st.w	--sp,r1
	rcall	00007D56
	sub	sp,FFFFFFFC
	cp.w	r12,FFFFFFFF
	brne	000087BA

l000081EA:
	lddsp	r8,sp[4]
	cp.w	r4,r8
	breq	000087A8

l000081F2:
	ld.ub	r9,r4[0]
	mov	r8,0000002F
	cp.b	r9,r8
	brne	00008208

l000081FC:
	bld	r1,+00000000
	brne	00008782

l00008204:
	br	000087A8

l00008208:
	mov	r8,0000002E
	cp.b	r9,r8
	brne	00008782

l00008212:
	br	0000871A

l00008216:
	bld	r1,+00000001
	breq	00008238

l0000821C:
	ld.ub	r7,r5[0]
	cp.w	r7,00000000
	breq	000087A8

l00008224:
	lddsp	lr,sp[8]
	cp.w	lr,00000000
	breq	00008236

l0000822A:
	ld.w	r8,r6[-32]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r7<<1]
	bfextu	r7,r8,+00000000,+00000008

l00008236:
	sub	r5,FFFFFFFF

l00008238:
	lddsp	r8,sp[4]
	cp.w	r4,r8
	breq	000087A8

l00008240:
	lddsp	lr,sp[8]
	ld.ub	r10,r4[0]
	cp.w	lr,00000000
	breq	00008252

l00008248:
	ld.w	r8,r6[-32]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r10<<1]
	rjmp	00008254

l00008252:
	mov	r8,r10

l00008254:
	cp.w	r8,r7
	breq	00008782

l0000825A:
	br	000087A8

l0000825E:
	mov	r8,r1
	andl	r8,0020,COH
	stdsp	sp[20],r8
	breq	0000828A

l00008268:
	ld.ub	r9,r5[0]
	mov	r8,00000028
	cp.b	r9,r8
	brne	0000828A

l00008272:
	lddsp	r9,sp[4]
	mov	r12,r7
	mov	r8,r0
	mov	r10,r4
	mov	r11,r5
	st.w	--sp,r1
	rcall	00007D56
	sub	sp,FFFFFFFC
	cp.w	r12,FFFFFFFF
	brne	000087BA

l0000828A:
	lddsp	lr,sp[4]
	cp.w	r4,lr
	breq	000082A0

l00008290:
	ld.ub	r9,r4[0]
	mov	r8,0000002E
	cp.b	r9,r8
	brne	000082A0

l0000829A:
	cp.w	r0,00000000
	brne	000087A8

l000082A0:
	ld.ub	r7,r5++
	mov	r3,r5
	rjmp	000082EC
000082A6                   D7 03 FF FF 31 5C                   ....1\   

l000082AC:
	ld.ub	r9,r3[0]
	mov	r8,00000028
	cp.b	r9,r8
	brne	000082CA

l000082B6:
	bld	r1,+00000005
	brne	000082CA

l000082BC:
	mov	r12,r3
	rcall	00007294
	cp.w	r12,r3
	breq	000082CA

l000082C6:
	mov	r3,r12
	rjmp	000082EA

l000082CA:
	cp.w	r5,00000000
	breq	000082EA

l000082CE:
	lddsp	r8,sp[4]
	cp.w	r4,r8
	breq	000087A8

l000082D6:
	ld.ub	r9,r4[0]
	mov	r8,0000002F
	cp.b	r9,r8
	brne	000082E8

l000082E0:
	bld	r1,+00000000
	breq	000087A8

l000082E8:
	sub	r4,FFFFFFFF

l000082EA:
	ld.ub	r7,r3++

l000082EC:
	mov	r8,0000003F
	cp.b	r7,r8
	sreq	r5
	cp.w	r5,00000000
	brne	000082AC

l000082F8:
	mov	r8,0000002A
	cp.b	r7,r8
	breq	000082AC

l00008300:
	mov	r5,r7
	bfextu	r8,r1,+00000000,+00000001
	cp.w	r7,00000000
	brne	0000832C

l0000830A:
	mov	r12,r8
	cp.w	r8,00000000
	breq	000087BA

l00008312:
	andl	r1,0008,COH
	breq	0000831E

l00008318:
	mov	r12,r7
	br	000087BA

l0000831E:
	lddsp	r10,sp[4]
	mov	r12,r4
	sub	r10,r4
	mov	r11,0000002F
	mcall	r6[316]
	rjmp	000083DC

l0000832C:
	lddsp	r10,sp[4]
	bfextu	r2,r8,+00000000,+00000008
	sub	r10,r4
	cp.w	r2,00000000
	movne	r11,0000002F

l0000833A:
	moveq	r11,00000000

l0000833E:
	mov	r12,r4
	mcall	r6[316]
	lddsp	lr,sp[4]
	mov	r8,0000005B
	movne	lr,r12

l0000834C:
	stdsp	sp[16],lr
	cp.b	r7,r8
	breq	0000837C

l00008354:
	lddsp	r8,sp[20]
	cp.w	r8,00000000
	breq	000083B0

l0000835A:
	mov	r8,00000040
	cp.b	r7,r8
	breq	00008372

l00008362:
	mov	r8,0000002B
	cp.b	r7,r8
	breq	00008372

l0000836A:
	mov	r8,00000021
	cp.b	r7,r8
	brne	000083B0

l00008372:
	ld.ub	r9,r3[0]
	mov	r8,00000028
	cp.b	r9,r8
	brne	000083B0

l0000837C:
	mov	r8,r1
	cbr	r8,+00000002
	cp.w	r2,00000000
	moveq	r5,r8

l00008386:
	movne	r5,r1

l0000838A:
	sub	r7,r3,00000001
	mov	r9,r0
	rjmp	0000839E

l00008392:
	rcall	00008144
	sub	r4,FFFFFFFF
	mov	r9,00000000
	cp.w	r12,00000000
	breq	000087AC

l0000839E:
	lddsp	lr,sp[16]
	mov	r11,r4
	mov	r8,r5
	lddsp	r10,sp[4]
	mov	r12,r7
	cp.w	r4,lr
	brcs	00008392

l000083AC:
	br	000087A8

l000083B0:
	mov	r8,0000002F
	cp.b	r7,r8
	brne	000083E4

l000083B8:
	cp.w	r2,00000000
	breq	000083EC

l000083BC:
	lddsp	r8,sp[4]
	cp.w	r4,r8
	brcc	000087A8

l000083C4:
	ld.ub	r9,r4++
	mov	r8,0000002F
	mov	r11,r4
	cp.b	r9,r8
	brne	000083BC

l000083D0:
	lddsp	r10,sp[4]
	mov	r8,r1
	mov	r12,r3
	bfextu	r9,r1,+00000002,+00000001
	rcall	00008144

l000083DC:
	cp.w	r12,00000000
	srne	r12
	br	000087BA

l000083E4:
	cp.w	r2,00000000
	breq	000083EC

l000083E8:
	mov	r2,r1
	rjmp	000083F0

l000083EC:
	mov	r2,r1
	cbr	r2,+00000002

l000083F0:
	mov	r8,0000005C
	cp.b	r7,r8
	breq	000083FC

l000083F8:
	mov	r5,r7
	rjmp	00008404

l000083FC:
	andl	r1,0002,COH
	brne	00008404

l00008402:
	ld.ub	r5,r3[0]

l00008404:
	lddsp	lr,sp[8]
	cp.w	lr,00000000
	breq	00008416

l0000840A:
	ld.w	r8,r6[-32]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r5<<1]
	bfextu	r5,r8,+00000000,+00000008

l00008416:
	mov	r9,r0
	sub	r7,r3,00000001
	rjmp	0000844C

l0000841E:
	lddsp	r8,sp[8]
	ld.ub	r10,r4[0]
	cp.w	r8,00000000
	breq	00008430

l00008426:
	ld.w	r8,r6[-32]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r10<<1]
	rjmp	00008432

l00008430:
	mov	r8,r10

l00008432:
	cp.w	r8,r5
	brne	00008448

l00008436:
	lddsp	r10,sp[4]
	cp.w	r9,00000000
	srne	r9
	mov	r11,r4
	mov	r8,r2
	mov	r12,r7
	rcall	00008144
	breq	000087AC

l00008448:
	sub	r4,FFFFFFFF
	mov	r9,00000000

l0000844C:
	lddsp	lr,sp[16]
	cp.w	r4,lr
	brcs	0000841E

l00008452:
	rjmp	000087A8

l00008454:
	ld.w	r7,r6[132]
	ld.w	r8,r7[0]
	cp.w	r8,00000000
	brne	00008470

l0000845E:
	ld.w	r12,r6[164]
	mcall	r6[56]
	moveq	r12,FFFFFFFF

l0000846A:
	movne	r12,00000001

l0000846E:
	st.w	r7[0],r12

l00008470:
	lddsp	r8,sp[4]
	cp.w	r4,r8
	breq	000087A8

l00008478:
	ld.ub	r10,r4[0]
	mov	r8,0000002E
	cp.b	r10,r8
	brne	00008488

l00008482:
	cp.w	r0,00000000
	breq	00008496

l00008486:
	rjmp	000087A8

l00008488:
	cp.b	r10,r3
	brne	00008496

l0000848E:
	bld	r1,+00000000
	breq	000087A8

l00008496:
	ld.ub	r9,r5[0]
	mov	r8,00000021
	cp.b	r9,r8
	brne	000084A4

l000084A0:
	mov	r8,00000001
	rjmp	000084BA

l000084A4:
	ld.w	r8,r6[132]
	ld.w	r8,r8[0]
	cp.w	r8,00000000
	brlt	000084B2

l000084AE:
	mov	r8,00000000
	rjmp	000084BA

l000084B2:
	mov	r8,0000005E
	cp.b	r9,r8
	sreq	r8

l000084BA:
	lddsp	lr,sp[8]
	bfextu	r0,r8,+00000000,+00000008
	sub	r8,r5,FFFFFFFF
	cp.w	r0,00000000
	movne	r5,r8

l000084CA:
	cp.w	lr,00000000
	brne	000084D2

l000084CE:
	mov	r2,r10
	rjmp	000084DE

l000084D2:
	ld.w	r8,r6[-32]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r10<<1]
	bfextu	r2,r8,+00000000,+00000008

l000084DE:
	ld.ub	r11,r5++
	mov	r8,r1
	eorl	r8,0002
	bfextu	r8,r8,+00000001,+00000001
	stdsp	sp[0],r8
	rjmp	000084F0

l000084EE:
	mov	r11,0000002D

l000084F0:
	lddsp	r8,sp[0]
	stdsp	sp[12],r8
	mov	r7,r5
	cp.w	r8,00000000
	breq	00008524

l000084FA:
	mov	r8,0000005C
	cp.b	r11,r8
	brne	00008524

l00008502:
	ld.ub	r9,r5[0]
	cp.w	r9,00000000
	breq	000087A8

l0000850A:
	lddsp	lr,sp[8]
	cp.w	lr,00000000
	brne	00008514

l00008510:
	mov	r11,r9
	rjmp	00008520

l00008514:
	ld.w	r8,r6[-32]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r9<<1]
	bfextu	r11,r8,+00000000,+00000008

l00008520:
	sub	r7,FFFFFFFF
	rjmp	000085BE

l00008524:
	mov	r8,0000005B
	cp.b	r11,r8
	brne	000085A6

l0000852C:
	ld.ub	r9,r7[0]
	mov	r8,0000003A
	cp.b	r9,r8
	brne	000085A6

l00008536:
	mov	r3,r7
	mov	r12,00000000

l0000853A:
	sub	r3,FFFFFFFF
	ld.ub	r10,r3[0]
	mov	r8,0000003A
	sub	lr,r10,00000061
	cp.b	r10,r8
	brne	0000856E

l0000854A:
	ld.ub	r9,r3[1]
	mov	r8,0000005D
	cp.b	r9,r8
	brne	0000856E

l00008554:
	sub	r9,sp,FFFFFEE4
	add	r9,r12
	mov	r8,00000000
	sub	r12,sp,FFFFFFE8
	st.b	r9[-260],r8
	mcall	r6[300]
	mov	r5,r12
	brne	0000858C

l0000856C:
	rjmp	000087A8

l0000856E:
	mov	r8,00000018
	cp.b	lr,r8
	brhi	000085BE

l00008578:
	cp.w	r12,000000FF
	breq	000087A8

l00008580:
	sub	r8,sp,FFFFFFE8
	st.b	r12[r8],r10
	sub	r12,FFFFFFFF
	rjmp	0000853A

l0000858C:
	ld.ub	r12,r4[0]
	sub	r7,r3,FFFFFFFE
	mcall	r6[544]
	mov	r11,r5
	mcall	r6[308]
	brne	0000863E

l0000859E:
	ld.ub	r11,r7[0]
	sub	r5,r3,FFFFFFFD
	rjmp	0000862A

l000085A6:
	cp.w	r11,00000000
	breq	000087A8

l000085AC:
	lddsp	r8,sp[8]
	cp.w	r8,00000000
	breq	000085BE

l000085B2:
	ld.w	r8,r6[-32]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r11<<1]
	bfextu	r11,r8,+00000000,+00000008

l000085BE:
	ld.ub	r10,r7[0]
	mov	r8,0000002D
	cp.b	r10,r8
	brne	000087B0

l000085CA:
	ld.ub	r9,r7[1]
	cp.w	r9,00000000
	breq	000087B0

l000085D2:
	mov	r8,0000005D
	cp.b	r9,r8
	breq	000087B0

l000085DC:
	mov	r8,0000002D
	sub	r5,r7,FFFFFFFF
	cp.b	r10,r8
	breq	000085EC

l000085E8:
	mov	r11,r10
	rjmp	0000862A

l000085EC:
	ld.ub	r9,r5[0]
	mov	r8,0000005D
	cp.b	r9,r8
	breq	000084EE

l000085F8:
	lddsp	lr,sp[0]
	sub	r7,r5,FFFFFFFF
	cp.w	lr,00000000
	breq	0000860A

l00008602:
	mov	r8,0000005C
	cp.b	r9,r8
	breq	0000860E

l0000860A:
	mov	r8,r9
	rjmp	00008610

l0000860E:
	ld.ub	r8,r7++

l00008610:
	cp.w	r8,00000000
	breq	000087A8

l00008616:
	cp.b	r11,r2
	brhi	00008626

l0000861E:
	cp.b	r2,r8
	brls	0000863E

l00008626:
	ld.ub	r11,r7++
	mov	r5,r7

l0000862A:
	mov	r8,0000005D
	cp.b	r11,r8
	brne	000084F0

l00008634:
	cp.w	r0,00000000
	brne	00008782

l0000863A:
	rjmp	000087A8

l0000863C:
	mov	r7,r5

l0000863E:
	ld.ub	r11,r7[0]
	cp.w	r11,00000000
	breq	000087A8

l00008646:
	lddsp	r8,sp[12]
	sub	r5,r7,FFFFFFFF
	cp.w	r8,00000000
	breq	00008668

l00008650:
	mov	r8,0000005C
	cp.b	r11,r8
	brne	00008668

l00008658:
	ld.ub	r9,r5[0]
	mov	r8,00000000
	cp.b	r9,r8
	breq	000087A8

l00008664:
	sub	r5,FFFFFFFF
	rjmp	00008712

l00008668:
	mov	r8,0000005B
	cp.b	r11,r8
	brne	00008712

l00008670:
	ld.ub	r9,r5[0]
	mov	r8,0000003A
	cp.b	r9,r8
	brne	000086B4

l0000867A:
	mov	r10,r5

l0000867C:
	sub	r10,FFFFFFFF
	sub	r8,r7,FFFFFEFF
	ld.ub	r9,r10[0]
	cp.w	r10,r8
	breq	000087A8

l0000868A:
	mov	r8,0000003A
	sub	r11,r9,00000061
	cp.b	r9,r8
	brne	000086A0

l00008696:
	ld.ub	r9,r10[1]
	mov	r8,0000005D
	cp.b	r9,r8
	breq	000086AC

l000086A0:
	mov	r8,00000018
	cp.b	r11,r8
	brhi	0000863C

l000086AA:
	rjmp	0000867C

l000086AC:
	ld.ub	r11,r10[2]
	sub	r5,r10,FFFFFFFD
	rjmp	00008712

l000086B4:
	mov	r11,0000003D
	cp.b	r9,r11
	brne	000086E6

l000086BC:
	sub	r10,r5,FFFFFFFF
	ld.ub	r9,r10[0]
	mov	r8,00000000
	cp.b	r9,r8
	breq	000087A8

l000086CA:
	sub	r9,r10,FFFFFFFF
	ld.ub	r8,r9[0]
	cp.b	r8,r11
	brne	000087A8

l000086D6:
	ld.ub	r9,r9[1]
	mov	r8,0000005D
	cp.b	r9,r8
	brne	000087A8

l000086E0:
	ld.ub	r11,r5[-4]
	sub	r5,FFFFFFFB
	rjmp	00008712

l000086E6:
	mov	r8,0000002E
	cp.b	r9,r8
	brne	0000863C

l000086EE:
	sub	r12,r5,FFFFFFFF

l000086F2:
	sub	r12,FFFFFFFF
	ld.ub	r9,r12[0]
	cp.w	r9,00000000
	breq	000087A8

l000086FA:
	mov	r8,0000002E
	cp.b	r9,r8
	brne	000086F2

l00008702:
	ld.ub	r9,r12[1]
	mov	r8,0000005D
	cp.b	r9,r8
	brne	000086F2

l0000870C:
	ld.ub	r11,r12[2]
	sub	r5,r12,FFFFFFFD

l00008712:
	mov	r8,0000005D
	cp.b	r11,r8
	brne	0000863C

l0000871A:
	cp.w	r0,00000000
	breq	00008782

l0000871E:
	rjmp	000087A8

l00008720:
	bld	r1,+00000005
	brne	00008764

l00008726:
	ld.ub	r9,r5[0]
	mov	r8,00000028
	cp.b	r9,r8
	brne	00008764

l00008730:
	lddsp	r9,sp[4]
	mov	r8,r0
	mov	r10,r4
	mov	r11,r5
	mov	r12,r7
	st.w	--sp,r1
	rcall	00007D56
	sub	sp,FFFFFFFC
	cp.w	r12,FFFFFFFF
	breq	00008764

l00008746:
	rjmp	000087BA

l00008748:
	mov	r8,r1
	andl	r8,0005,COH
	cp.w	r8,00000005
	brne	00008764

l00008752:
	lddsp	lr,sp[4]
	cp.w	r4,lr
	breq	000087A8

l00008758:
	ld.ub	r8,r4[0]
	cp.b	r8,r3
	brne	000087A8

l00008760:
	mov	r9,00000001
	rjmp	00008784

l00008764:
	lddsp	r8,sp[4]
	cp.w	r4,r8
	breq	000087A8

l0000876A:
	lddsp	lr,sp[8]
	ld.ub	r10,r4[0]
	cp.w	lr,00000000
	breq	0000877C

l00008772:
	ld.w	r8,r6[-32]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r10<<1]
	rjmp	0000877E

l0000877C:
	mov	r8,r10

l0000877E:
	cp.w	r7,r8
	brne	000087A8

l00008782:
	mov	r9,00000000

l00008784:
	sub	r4,FFFFFFFF
	mov	r0,r9

l00008788:
	ld.ub	r7,r5[0]
	cp.w	r7,00000000
	brne	0000815C

l00008790:
	lddsp	r8,sp[4]
	cp.w	r4,r8
	breq	000087AC

l00008796:
	andl	r1,0008,COH
	breq	000087A8

l0000879C:
	ld.ub	r9,r4[0]
	mov	r8,0000002F
	cp.b	r9,r8
	srne	r12
	rjmp	000087BA

l000087A8:
	mov	r12,00000001
	rjmp	000087BA

l000087AC:
	mov	r12,00000000
	rjmp	000087BA

l000087B0:
	cp.b	r11,r2
	brne	000085DC

l000087B8:
	rjmp	0000863E

l000087BA:
	sub	sp,FFFFFEE4
	popm	r0-r3,r4-r7,pc
000087BE                                           D7 03               ..

;; fn000087C0: 000087C0
;;   Called from:
;;     00003BB2 (in fn00003BA4)
fn000087C0 proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,00000014
	lddpc	r6,pc[320]
	rsub	r6,pc
	st.w	r7[-12],r12
	st.w	r7[-16],r11
	mov	r1,r10
	mcall	r6[172]
	mov	r0,sp
	cp.w	r12,00000001
	breq	0000890C

l000087E0:
	sub	r4,r7,00000008
	mov	r10,00000000
	mov	r9,r4
	sub	r11,r7,0000000C
	mov	r12,r10
	mov	r2,00000000
	mov	r3,00000000
	st.d	r4[0],r3:r2
	mcall	r6[188]
	sub	r5,r12,FFFFFFFF
	breq	0000890C

l00008802:
	mov	r12,r4
	mcall	r6[144]
	brne	00008820

l0000880A:
	sub	r9,pc,FFFFFED2
	ld.w	r11,r6[260]
	ld.w	r12,r6[256]
	sub	r9,FFFFFFE8
	mov	r10,00000127
	mcall	r6[60]

l00008820:
	mov	r10,00000000
	mov	r9,r4
	sub	r11,r7,00000010
	mov	r12,r10
	mcall	r6[188]
	sub	r2,r12,FFFFFFFF
	breq	0000890C

l00008834:
	mov	r12,r4
	mcall	r6[144]
	brne	00008852

l0000883C:
	sub	r9,pc,FFFFFF04
	ld.w	r11,r6[260]
	ld.w	r12,r6[256]
	sub	r9,FFFFFFE8
	mov	r10,0000012B
	mcall	r6[60]

l00008852:
	add	r9,r2,r5
	st.w	r7[-20],r9
	cp.w	r5,r9
	brhi	0000888A

l00008860:
	lddpc	r8,pc[168]
	cp.w	r9,r8
	brhi	0000888A

l00008868:
	ld.w	r12,r7[-20]
	ld.w	r8,r7[-20]
	lsl	r12,+00000002
	cp.w	r8,000007CF
	brhi	00008884

l0000887A:
	sub	r8,r12,FFFFFFFC
	sub	sp,r8
	mov	r3,sp
	rjmp	00008898

l00008884:
	mcall	r6[32]
	brne	00008896

l0000888A:
	mcall	r6[28]
	mov	r5,FFFFFFFF
	mov	r8,0000000C
	st.w	r12[0],r8
	rjmp	0000892E

l00008896:
	mov	r3,r12

l00008898:
	sub	r4,r7,00000008
	mov	r10,r5
	mov	r9,r4
	sub	r11,r7,0000000C
	mov	r12,r3
	mcall	r6[188]
	add	r5,r3,r5<<2
	mov	r12,r4
	mcall	r6[144]
	brne	000088CC

l000088B6:
	sub	r9,pc,FFFFFF7E
	ld.w	r11,r6[260]
	ld.w	r12,r6[256]
	sub	r9,FFFFFFE8
	mov	r10,00000145
	mcall	r6[60]

l000088CC:
	mov	r9,r4
	mov	r10,r2
	sub	r11,r7,00000010
	mov	r12,r5
	mcall	r6[188]
	add	r10,r5,r2<<2
	mov	r11,r5
	bfextu	r9,r1,+00000002,+00000001
	mov	r8,r1
	sub	r10,00000004
	mov	r12,r3
	rcall	00007754
	ld.w	r9,r7[-20]
	mov	r5,r12
	cp.w	r9,000007CF
	brls	0000892E

l000088FC:
	mov	r12,r3
	mcall	r6[12]
	rjmp	0000892E
00008904             FF FF 37 D8 3F FF FF FF                 ..7.?...   

l0000890C:
	ld.w	r5,r7[-16]
	bfextu	r3,r1,+00000002,+00000001
	mov	r12,r5
	mcall	r6[16]
	mov	r11,r5
	add	r10,r5,r12
	ld.w	r12,r7[-12]
	mov	r8,r1
	mov	r9,r3
	rcall	00008144
	mov	r5,r12

l0000892E:
	mov	r12,r5
	mov	sp,r0
	sub	sp,FFFFFFEC
	popm	r0-r3,r4-r7,pc
00008936                   D7 03 65 78 74 5F 77 6D 61 74       ..ext_wmat
00008940 63 68 00 00 65 78 74 5F 6D 61 74 63 68 00 00 00 ch..ext_match...
00008950 67 6E 75 5F 66 6E 6D 61 74 63 68 00             gnu_fnmatch.   

;; fn0000895C: 0000895C
;;   Called from:
;;     00004F1A (in fn00004968)
fn0000895C proc
	pushm	r4-r7,lr
	sub	sp,00000008
	lddpc	r6,pc[40]
	rsub	r6,pc
	mov	r7,r12
	mov	r11,r12
	mov	r12,00000000
	mcall	r6[596]
	breq	00008984

l00008970:
	mov	r11,00000000
	mov	r12,sp
	rcall	0000898C
	lddsp	r8,sp[4]
	mov	r9,000003E8
	mul	r8,r9
	lddsp	r9,sp[0]
	st.w	r7[0],r9
	st.w	r7[4],r8

l00008984:
	sub	sp,FFFFFFF8
	popm	r4-r7,pc
00008988                         FF FF 39 72                     ..9r   

;; fn0000898C: 0000898C
;;   Called from:
;;     00008974 (in fn0000895C)
fn0000898C proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,0000002C
	lddpc	r6,pc[88]
	rsub	r6,pc
	ld.w	r5,r6[216]
	sub	r4,sp,FFFFFFF0
	ld.w	r10,r5[0]
	mov	r7,sp
	mov	r8,r10
	ldm	r8++,r0-r3
	stm	sp,r0-r3
	ldm	r8,r0-r3
	stm	r4,r0-r3
	ld.d	r9:r8,r10[32]
	st.d	sp[32],r9:r8
	ld.w	r8,r10[40]
	stdsp	sp[40],r8
	mcall	r6[476]
	ldm	sp,r0-r3
	ld.w	r10,r5[0]
	stm	r10,r0-r3
	sub	r8,r10,FFFFFFF0
	ldm	r4,r0-r3
	stm	r8,r0-r3
	ld.d	r9:r8,sp[32]
	st.d	r10[32],r9:r8
	lddsp	r8,sp[40]
	st.w	r10[-24],r8
	sub	sp,FFFFFFD4
	popm	r0-r3,r4-r7,pc
000089E8                         FF FF 39 A2 D4 31 20 BD         ..9..1 .
000089F0 49 66 1E 26 EC F5 00 D8 FA C4 FF F0 6A 0A 1A 97 If.&........j...
00008A00 14 98 E3 C8 00 0F E9 CD 00 0F E1 C8 00 0F E9 C4 ................
00008A10 00 0F F4 E8 00 20 FA E9 00 20 74 A8 50 A8 F0 16 ..... ... t.P...
00008A20 00 63 E1 CD 00 0F 6A 0A E9 CA 00 0F F4 C8 FF F0 .c....j.........
00008A30 E1 C4 00 0F E9 C8 00 0F FA E8 00 20 F4 E9 00 20 ........... ... 
00008A40 40 A8 95 A8 2F 5D D8 32 FF FF 3A 02 D4 21 48 76 @.../].2..:..!Hv
00008A50 1E 26 F0 16 00 66 EC FB 00 D8 EC F8 01 70 76 09 .&...f.......pv.
00008A60 10 39 C0 21 97 0C D8 22 FF FF 3A 60             .9.!..."..:`   

;; fn00008A6C: 00008A6C
;;   Called from:
;;     00004EEC (in fn00004968)
;;     00004FD0 (in fn00004968)
fn00008A6C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[28]
	rsub	r6,pc
	mcall	r6[472]
	ld.w	r11,r6[216]
	ld.w	r8,r6[368]
	ld.w	r9,r11[0]
	cp.w	r9,r8
	brne	00008A86

l00008A84:
	st.w	r11[0],r12

l00008A86:
	popm	r4-r7,pc
00008A88                         FF FF 3A 80                     ..:.   

;; fn00008A8C: 00008A8C
;;   Called from:
;;     00002C98 (in fn00002B30)
fn00008A8C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[44]
	rsub	r6,pc
	mov	r11,00000000
	mcall	r6[292]
	mov	r7,r12
	brne	00008A9E

l00008A9C:
	popm	r4-r7,r12,pc,r12=1

l00008A9E:
	ld.w	r11,r6[776]
	mcall	r6[24]
	breq	00008AB4

l00008AA8:
	ld.w	r11,r6[772]
	mov	r12,r7
	mcall	r6[24]
	srne	r12

l00008AB4:
	popm	r4-r7,pc
00008AB6                   D7 03 FF FF 3A A0                   ....:.   

;; fn00008ABC: 00008ABC
fn00008ABC proc
	ld.w	r12,r12[8]
	ret	r12

;; fn00008AC0: 00008AC0
fn00008AC0 proc
	ld.w	r12,r12[12]
	ret	r12

;; fn00008AC4: 00008AC4
fn00008AC4 proc
	ld.w	r12,r12[16]
	ret	r12

;; fn00008AC8: 00008AC8
fn00008AC8 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[52]
	rsub	r6,pc
	ld.w	r11,r12[4]
	ld.w	r12,r12[0]
	mov	r10,00000000
	rjmp	00008AF2

l00008AD6:
	ld.w	r8,r12[0]
	cp.w	r8,00000000
	breq	00008AF0

l00008ADC:
	mov	r8,r12
	mov	r9,00000001
	rjmp	00008AE4

l00008AE2:
	sub	r9,FFFFFFFF

l00008AE4:
	ld.w	r8,r8[4]
	cp.w	r8,00000000
	brne	00008AE2

l00008AEA:
	cp.w	r10,r9
	movcs	r10,r9

l00008AF0:
	sub	r12,FFFFFFF8

l00008AF2:
	cp.w	r12,r11
	brcs	00008AD6

l00008AF6:
	mov	r12,r10
	popm	r4-r7,pc
00008AFA                               D7 03 FF FF 3A DC           ....:.
00008B00 D4 01 30 0A 78 09 78 1E 14 9B C0 D8 72 08 58 08 ..0.x.x.....r.X.
00008B10 C0 90 2F FA 12 98 C0 28 2F FA 70 18 58 08 CF D1 ../....(/.p.X...
00008B20 2F FB 2F 89 1C 39 CF 33 78 38 10 3B C0 20 D8 0A /./..9.3x8.;. ..
00008B30 78 48 10 3A 5F 0C D8 02 D4 21 18 9E 78 0C 14 97 xH.:_....!..x...
00008B40 16 95 30 0A C1 18 78 08 58 08 C0 D0 EA 0A 00 2B ..0...x.X......+
00008B50 18 99 C0 78 0E 3A C0 B2 72 08 16 A8 72 19 2F FA ...x.:..r...r./.
00008B60 58 09 CF 91 2F 8C 7C 18 10 3C CE E3 14 9C D8 22 X.../.|..<....."
00008B70 D4 31 78 05 18 93 16 91 14 92 30 04 C1 08 6A 08 .1x.......0...j.
00008B80 58 08 C0 C0 0A 97 C0 78 6E 0C 5D 11 5C 5C C0 A0 X......xn.].\\..
00008B90 6E 17 2F F4 04 9B 58 07 CF 81 2F 85 66 18 10 35 n./...X.../.f..5
00008BA0 CE F3 08 9C D8 32 30 0A C0 48 F0 0B 0D 08 12 9A .....20..H......
00008BB0 19 89 F4 08 15 05 14 18 2F FC 12 08 58 09 CF 61 ......../...X..a
00008BC0 5E FA D4 31 48 66 1E 26 FE C8 F9 94 E1 C8 00 0F ^..1Hf.&........
00008BD0 E9 CC 00 0F 70 48 99 48 D8 32 D7 03 FF FF 3B D6 ....pH.H.2....;.

;; fn00008BE0: 00008BE0
;;   Called from:
;;     00008EB8 (in fn00008E88)
;;     00009066 (in fn0000901C)
;;     00009132 (in fn000090C0)
fn00008BE0 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[108]
	rsub	r6,pc
	ld.w	r5,r12[20]
	mov	r2,r12
	ld.w	r4,r5[8]
	lddpc	r12,pc[100]
	mov	r11,r4
	rcall	0000FA0E
	breq	00008C40

l00008BF6:
	lddpc	r11,pc[96]
	mov	r12,r4
	rcall	0000FA0E
	breq	00008C40

l00008C00:
	ld.w	r11,r5[12]
	lddpc	r12,pc[88]
	rcall	0000FA0E
	breq	00008C40

l00008C0A:
	ld.w	r7,r5[0]
	mov	r11,00000000
	mov	r12,r7
	rcall	0000F9D0
	breq	00008C40

l00008C16:
	lddpc	r11,pc[60]
	mov	r12,r7
	rcall	0000FF9C
	ld.w	r7,r5[4]
	mov	r11,r7
	mov	r3,r12
	rcall	0000FA0E
	breq	00008C40

l00008C2A:
	lddpc	r12,pc[52]
	mov	r11,r7
	rcall	0000F9D0
	breq	00008C40

l00008C34:
	mov	r11,r4
	mov	r12,r3
	rcall	0000FA0E
	breq	00008C40

l00008C3E:
	popm	r0-r3,r4-r7,r12,pc,r12=1

l00008C40:
	sub	r8,pc,FFFFFA0C
	mov	r12,00000000
	st.w	r2[20],r8
	popm	r0-r3,r4-r7,pc
00008C4A                               D7 03 FF FF 3B F4           ....;.
00008C50 3D CC CC CD 3F 66 66 66 3F 8C CC CD 3F 80 00 00 =...?fff?...?...
00008C60 D4 21 78 05 18 94 C1 B8 6A 08 58 08 C1 70 6A 17 .!x.....j.X..pj.
00008C70 C0 C8 58 08 C0 30 6E 0C 5D 18 30 08 8F 08 6E 19 ..X..0n.].0...n.
00008C80 68 98 8F 18 89 97 12 97 68 88 58 07 CF 31 58 08 h.......h.X..1X.
00008C90 C0 30 6A 0C 5D 18 8B 17 8B 07 2F 85 68 18 10 35 .0j.]...../.h..5
00008CA0 CE 43 30 08 89 48 89 38 D8 22                   .C0..H.8."     

;; fn00008CAA: 00008CAA
;;   Called from:
;;     0000902A (in fn0000901C)
;;     000090D8 (in fn000090C0)
fn00008CAA proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[124]
	rsub	r6,pc
	ld.w	r8,r12[24]
	mov	r3,r11
	ld.w	r11,r12[8]
	mov	r7,r12
	mov	r12,r3
	ld.w	r5,r7[0]
	mov	r4,r10
	mov	r2,r9
	icall	r8
	ld.w	r8,r7[4]
	add	r5,r5,r12<<3
	cp.w	r5,r8
	brcs	00008CD0

l00008CCC:
	mcall	r6[76]

l00008CD0:
	st.w	r4[0],r5
	ld.w	r11,r5[0]
	cp.w	r11,00000000
	breq	00008D24

l00008CD8:
	ld.w	r8,r7[28]
	mov	r12,r3
	icall	r8
	castu.b	r12
	breq	00008D1E

l00008CE2:
	ld.w	r12,r5[0]
	cp.w	r2,00000000
	breq	00008D26

l00008CE8:
	ld.w	r9,r5[4]
	cp.w	r9,00000000
	breq	00008CF4

l00008CEE:
	ld.w	r8,r9[0]
	st.w	r5[0],r8
	rjmp	00008D0C

l00008CF4:
	st.w	r5[0],r9
	popm	r0-r3,r4-r7,pc

l00008CF8:
	ld.w	r11,r11[0]
	ld.w	r8,r7[28]
	mov	r12,r3
	icall	r8
	ld.w	r9,r5[4]
	castu.b	r12
	breq	00008D1C

l00008D06:
	ld.w	r12,r9[0]
	cp.w	r2,00000000
	breq	00008D26

l00008D0C:
	ld.w	r8,r9[4]
	st.w	r5[4],r8
	mov	r8,00000000
	st.w	r9[0],r8
	ld.w	r8,r7[36]
	st.w	r9[4],r8
	st.w	r7[-28],r9
	popm	r0-r3,r4-r7,pc

l00008D1C:
	mov	r5,r9

l00008D1E:
	ld.w	r11,r5[4]
	cp.w	r11,00000000
	brne	00008CF8

l00008D24:
	mov	r12,00000000

l00008D26:
	popm	r0-r3,r4-r7,pc
00008D28                         FF FF 3C BE D4 31 49 46         ..<..1IF
00008D30 1E 26 16 97 78 68 78 2B 18 95 0E 9C 6A 03 5D 18 .&..xhx+....j.].
00008D40 6A 1B E6 0C 00 3A 16 3A C0 32 14 99 C0 C8 F0 16 j....:.:.2......
00008D50 00 13 72 08 0E 38 C0 61 72 1C 58 0C C0 30 78 0C ..r..8.ar.X..0x.
00008D60 D8 32 72 19 58 09 CF 61 C0 48 74 0C 58 0C C0 51 .2r.X..a.Ht.X..Q
00008D70 2F 8A 16 3A CF B3 30 0C D8 32 D7 03 FF FF 3D 40 /..:..0..2....=@
00008D80 D4 21 48 A6 1E 26 78 48 58 08 C0 C0 78 19 78 08 .!H..&xHX...x.x.
00008D90 12 38 C0 33 F0 16 00 13 70 0C 58 0C C0 41 2F 88 .8.3....p.X..A/.
00008DA0 CF 8B 10 9C D8 22 D7 03 FF FF 3D 94 D4 21 49 16 ....."....=..!I.
00008DB0 1E 26 78 68 16 94 78 2B 18 97 08 9C 6E 05 5D 18 .&xh..x+....n.].
00008DC0 6E 18 EA 0C 00 3B 10 3B C0 33 F0 16 00 13 76 08 n....;.;.3....v.
00008DD0 58 08 C0 E0 16 95 C0 A8 6E 78 6A 0B 08 9C 5D 18 X.......nxj...].
00008DE0 5C 5C C0 30 6A 0C D8 22 6A 15 58 05 CF 61 D8 2A \\.0j.."j.X..a.*
00008DF0 FF FF 3D C0                                     ..=.           

;; fn00008DF4: 00008DF4
;;   Called from:
;;     00008FBA (in fn00008FEC)
;;     000090EA (in fn000090C0)
fn00008DF4 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[28]
	rsub	r6,pc
	mov	r9,r12
	ld.w	r12,r12[36]
	cp.w	r12,00000000
	breq	00008E08

l00008E02:
	ld.w	r8,r12[4]
	st.w	r9[-28],r8
	popm	r4-r7,pc

l00008E08:
	mov	r12,00000008
	mcall	r6[32]
	popm	r4-r7,pc
00008E10 FF FF 3E 08                                     ..>.           

;; fn00008E14: 00008E14
fn00008E14 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[112]
	rsub	r6,pc
	ld.w	r8,r12[32]
	mov	r7,r12
	cp.w	r8,00000000
	breq	00008E4A

l00008E22:
	ld.w	r8,r12[16]
	cp.w	r8,00000000
	breq	00008E4A

l00008E28:
	ld.w	r4,r12[0]
	rjmp	00008E44

l00008E2C:
	ld.w	r8,r4[0]
	cp.w	r8,00000000
	breq	00008E42

l00008E32:
	mov	r5,r4
	rjmp	00008E3E

l00008E36:
	ld.w	r12,r5[0]
	ld.w	r8,r7[32]
	icall	r8
	ld.w	r5,r5[4]

l00008E3E:
	cp.w	r5,00000000
	brne	00008E36

l00008E42:
	sub	r4,FFFFFFF8

l00008E44:
	ld.w	r8,r7[4]
	cp.w	r4,r8
	brcs	00008E2C

l00008E4A:
	ld.w	r4,r7[0]
	rjmp	00008E60

l00008E4E:
	ld.w	r5,r4[4]
	rjmp	00008E58

l00008E52:
	ld.w	r5,r5[4]
	mcall	r6[12]

l00008E58:
	mov	r12,r5
	cp.w	r5,00000000
	brne	00008E52

l00008E5E:
	sub	r4,FFFFFFF8

l00008E60:
	ld.w	r8,r7[4]
	cp.w	r4,r8
	brcs	00008E4E

l00008E66:
	ld.w	r5,r7[36]
	rjmp	00008E70

l00008E6A:
	ld.w	r5,r5[4]
	mcall	r6[12]

l00008E70:
	mov	r12,r5
	cp.w	r5,00000000
	brne	00008E6A

l00008E76:
	ld.w	r12,r7[0]
	mcall	r6[12]
	mov	r12,r7
	mcall	r6[12]
	popm	r4-r7,pc
00008E84             FF FF 3E 28                             ..>(       

;; fn00008E88: 00008E88
;;   Called from:
;;     00008F7A (in fn00008F68)
fn00008E88 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[212]
	rsub	r6,pc
	mov	r1,r10
	mov	r4,r12
	mov	r5,r11
	mov	r2,r9
	mov	r0,r8
	cp.w	r10,00000000
	breq	00008F56

l00008E9C:
	cp.w	r9,00000000
	breq	00008F56

l00008EA0:
	mov	r12,00000028
	mcall	r6[32]
	mov	r7,r12
	breq	00008F56

l00008EAA:
	sub	r8,pc,FFFFFC76
	mov	r3,r12
	cp.w	r5,00000000
	moveq	r5,r8

l00008EB6:
	st.w	r12[20],r5
	rcall	00008BE0
	castu.b	r12
	breq	00008F50

l00008EBE:
	ld.ub	r9,r5[16]
	mov	r8,00000000
	cp.b	r9,r8
	brne	00008EE8

l00008ECA:
	mov	r12,r4
	rcall	0001013A
	ld.w	r11,r5[8]
	rcall	0000FD70
	lddpc	r11,pc[140]
	mov	r5,r12
	rcall	0000F9D0
	brne	00008F50

l00008EE0:
	mov	r12,r5
	rcall	000101B2
	mov	r4,r12

l00008EE8:
	lddpc	r8,pc[124]
	cp.w	r4,r8
	brhi	00008F50

l00008EF0:
	cp.w	r4,00000009
	movhi	r12,r4

l00008EF6:
	movls	r12,0000000A

l00008EFA:
	sbr	r12,+00000000
	rjmp	00008F00

l00008EFE:
	sub	r12,FFFFFFFE

l00008F00:
	mov	r10,00000003
	mov	lr,00000009
	rjmp	00008F08

l00008F06:
	sub	r10,FFFFFFFE

l00008F08:
	sub	r11,r10,FFFFFFFF
	cp.w	lr,r12
	brcc	00008F1C

l00008F10:
	divu	r8,r12,r10
	add	lr,lr,r11<<2
	cp.w	r9,00000000
	brne	00008F06

l00008F1C:
	divu	r8,r12,r10
	cp.w	r9,00000000
	breq	00008EFE

l00008F24:
	lddpc	r8,pc[64]
	st.w	r7[8],r12
	cp.w	r12,r8
	brhi	00008F50

l00008F2E:
	mov	r11,00000008
	rcall	0000CCF0
	st.w	r7[0],r12
	breq	00008F50

l00008F38:
	ld.w	r8,r7[8]
	mov	r9,00000000
	add	r8,r12,r8<<3
	st.w	r7[-28],r9
	st.w	r7[4],r8
	st.w	r7[24],r1
	st.w	r7[28],r2
	st.w	r7[-32],r0
	st.w	r7[12],r9
	st.w	r7[16],r9
	rjmp	00008F58

l00008F50:
	mov	r12,r7
	mcall	r6[12]

l00008F56:
	mov	r3,00000000

l00008F58:
	mov	r12,r3
	popm	r0-r3,r4-r7,pc
00008F5C                                     FF FF 3E 9C             ..>.
00008F60 4F 80 00 00 1F FF FF FF                         O.......       

;; fn00008F68: 00008F68
;;   Called from:
;;     000090B4 (in fn0000901C)
;;     0000918C (in fn000090C0)
fn00008F68 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[176]
	rsub	r6,pc
	mov	r3,r12
	ld.w	r8,r3[32]
	mov	r12,r11
	ld.w	r9,r3[28]
	ld.w	r10,r3[24]
	ld.w	r11,r3[20]
	rcall	00008E88
	mov	r4,r12
	breq	00009014

l00008F80:
	ld.w	r8,r3[36]
	ld.w	r2,r3[0]
	st.w	r12[-28],r8
	rjmp	00008FEC

l00008F88:
	ld.w	r8,r2[0]
	cp.w	r8,00000000
	breq	00008FEA

l00008F8E:
	mov	r7,r2
	rjmp	00008FE6

l00008F92:
	ld.w	r1,r7[0]
	ld.w	r8,r4[24]
	ld.w	r11,r4[8]
	mov	r12,r1
	ld.w	r5,r4[0]
	icall	r8
	ld.w	r8,r4[4]
	add	r5,r5,r12<<3
	cp.w	r5,r8
	brcs	00008FAC

l00008FA8:
	mcall	r6[76]

l00008FAC:
	ld.w	r9,r5[0]
	ld.w	r0,r7[4]
	cp.w	r9,00000000
	breq	00008FD0

l00008FB4:
	cp.w	r7,r2
	brne	00008FC8

l00008FB8:
	mov	r12,r4
	rcall	00008DF4
	breq	00009014

l00008FBE:
	ld.w	r8,r5[4]
	st.w	r12[4],r8
	st.w	r5[4],r12
	st.w	r12[0],r1
	rjmp	00008FE4

l00008FC8:
	ld.w	r8,r5[4]
	st.w	r7[4],r8
	st.w	r5[4],r7
	rjmp	00008FE4

l00008FD0:
	st.w	r5[0],r1
	ld.w	r8,r4[12]
	sub	r8,FFFFFFFF
	st.w	r4[12],r8
	cp.w	r7,r2
	breq	00008FE4

l00008FDC:
	st.w	r7[0],r9
	ld.w	r8,r4[36]
	st.w	r7[4],r8
	st.w	r4[-28],r7

l00008FE4:
	mov	r7,r0

l00008FE6:
	cp.w	r7,00000000
	brne	00008F92

;; fn00008FEA: 00008FEA
;;   Called from:
;;     00008F8C (in fn00008FEC)
;;     00008FE8 (in fn00008FEC)
fn00008FEA proc
	sub	r2,FFFFFFF8

;; fn00008FEC: 00008FEC
;;   Called from:
;;     00008F7E (in fn00008F68)
;;     00008F86 (in fn00008F68)
;;     00008FEA (in fn00008FEA)
fn00008FEC proc
	ld.w	r8,r3[4]
	cp.w	r2,r8
	brcs	00008F88

;; fn00008FF2: 00008FF2
;;   Called from:
;;     00008FF0 (in fn00008FEC)
fn00008FF2 proc
	ld.w	r12,r3[0]
	mcall	r6[12]
	ld.w	r9,r4[0]
	ld.w	r10,r4[4]
	ld.w	r11,r4[8]
	ld.w	lr,r4[12]
	ld.w	r8,r4[36]
	mov	r12,r4
	st.w	r3[-28],r8
	st.w	r3[0],r9
	st.w	r3[4],r10
	st.w	r3[8],r11
	st.w	r3[12],lr
	mcall	r6[12]
	popm	r0-r3,r4-r7,r12,pc,r12=1

l00009014:
	popm	r0-r3,r4-r7,pc,r12=0
00009016                   D7 03 FF FF 3F 7C                   ....?|   

;; fn0000901C: 0000901C
fn0000901C proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000004
	lddpc	r6,pc[156]
	rsub	r6,pc
	mov	r9,00000001
	mov	r10,sp
	mov	r7,r12
	rcall	00008CAA
	mov	r1,r12
	breq	000090B6

l00009030:
	ld.w	r8,r7[16]
	lddsp	r9,sp[0]
	sub	r8,00000001
	st.w	r7[16],r8
	ld.w	r2,r9[0]
	cp.w	r2,00000000
	brne	000090B6

l0000903E:
	ld.w	r8,r7[12]
	sub	r8,00000001
	mov	r12,r8
	st.w	r7[12],r8
	rcall	0001013A
	ld.w	r5,r7[20]
	mov	r3,r12
	ld.w	r12,r7[8]
	rcall	0001013A
	ld.w	r11,r5[0]
	rcall	00010050
	mov	r11,r12
	mov	r12,r3
	rcall	0000FA0E
	breq	000090B6

l00009064:
	mov	r12,r7
	rcall	00008BE0
	ld.w	r3,r7[20]
	ld.w	r12,r7[8]
	rcall	0001013A
	mov	r4,r12
	ld.w	r12,r7[12]
	rcall	0001013A
	ld.w	r11,r3[0]
	mov	r5,r12
	mov	r12,r4
	rcall	00010050
	mov	r11,r12
	mov	r12,r5
	rcall	0000FA0E
	breq	000090B6

l0000908E:
	ld.ub	r9,r3[16]
	cp.b	r9,r2
	breq	0000909E

l00009098:
	ld.w	r11,r3[4]
	mov	r12,r4
	rjmp	000090A8

l0000909E:
	ld.w	r11,r3[4]
	mov	r12,r4
	rcall	00010050
	ld.w	r11,r3[8]

l000090A8:
	rcall	00010050
	rcall	000101B2
	mov	r11,r12
	mov	r12,r7
	rcall	00008F68

l000090B6:
	mov	r12,r1
	sub	sp,FFFFFFFC
	popm	r0-r3,r4-r7,pc
000090BC                                     FF FF 40 32             ..@2

;; fn000090C0: 000090C0
;;   Called from:
;;     000051AE (in fn0000511C)
fn000090C0 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000004
	lddpc	r6,pc[216]
	rsub	r6,pc
	mov	r2,r11
	mov	r7,r12
	cp.w	r11,00000000
	brne	000090D4

l000090D0:
	mcall	r6[76]

l000090D4:
	mov	r9,00000000
	mov	r10,sp
	rcall	00008CAA
	mov	r1,r12
	brne	00009196

l000090E0:
	lddsp	r9,sp[0]
	ld.w	r8,r9[0]
	cp.w	r8,00000000
	breq	00009104

l000090E8:
	mov	r12,r7
	rcall	00008DF4
	breq	00009196

l000090EE:
	st.w	r12[0],r2
	lddsp	r8,sp[0]
	mov	r1,r2
	ld.w	r8,r8[4]
	st.w	r12[4],r8
	lddsp	r8,sp[0]
	st.w	r8[4],r12
	ld.w	r8,r7[16]
	sub	r8,FFFFFFFF
	st.w	r7[16],r8
	rjmp	00009196

l00009104:
	st.w	r9[0],r2
	ld.w	r9,r7[12]
	ld.w	r8,r7[16]
	sub	r9,FFFFFFFF
	sub	r8,FFFFFFFF
	mov	r12,r9
	st.w	r7[16],r8
	st.w	r7[12],r9
	rcall	0001013A
	ld.w	r5,r7[20]
	mov	r3,r12
	ld.w	r12,r7[8]
	rcall	0001013A
	ld.w	r11,r5[8]
	rcall	00010050
	mov	r11,r3
	rcall	0000FA0E
	breq	00009194

l00009130:
	mov	r12,r7
	rcall	00008BE0
	ld.w	r3,r7[20]
	ld.w	r0,r3[8]
	ld.w	r12,r7[8]
	rcall	0001013A
	mov	r4,r12
	ld.w	r12,r7[12]
	rcall	0001013A
	mov	r11,r4
	mov	r5,r12
	mov	r12,r0
	rcall	00010050
	mov	r11,r5
	rcall	0000FA0E
	breq	00009194

l0000915A:
	ld.ub	r9,r3[16]
	cp.b	r9,r1
	breq	0000916A

l00009164:
	ld.w	r11,r3[12]
	mov	r12,r4
	rjmp	00009174

l0000916A:
	ld.w	r11,r3[12]
	mov	r12,r4
	rcall	00010050
	mov	r11,r0

l00009174:
	rcall	00010050
	lddpc	r11,pc[40]
	mov	r5,r12
	rcall	0000F9D0
	brne	00009196

l00009182:
	mov	r12,r5
	rcall	000101B2
	mov	r11,r12
	mov	r12,r7
	rcall	00008F68
	castu.b	r12
	moveq	r2,r12

l00009194:
	mov	r1,r2

l00009196:
	mov	r12,r1
	sub	sp,FFFFFFFC
	popm	r0-r3,r4-r7,pc
0000919C                                     FF FF 40 D6             ..@.
000091A0 4F 80 00 00 D4 31 4A 16 1E 26 16 91 18 95 FE B0 O....1J..&......
000091B0 FC 8B 18 93 0A 9C FE B0 FC 83 18 90 0A 9C FE B0 ................
000091C0 FC 81 18 97 0A 9C FE B0 FC 81 1A D3 EC FB 03 00 ................
000091D0 18 95 02 9C F0 16 00 1A 1A D0 EC FB 02 FC 02 9C ................
000091E0 F0 16 00 1A 0E 9C E0 A0 33 0A FE E8 00 42 E0 A0 ........3....B..
000091F0 30 71 00 9C 14 92 16 93 E0 A0 33 01 14 98 16 99 0q........3.....
00009200 04 9A 06 9B E0 A0 34 28 02 9C BB 2B EC FB 02 F8 ......4(...+....
00009210 1A D7 F0 16 00 1A 1A D5 EC FB 02 F4 02 9C F0 16 ................
00009220 00 1A 2F AD D8 32 D7 03 FF FF 41 B8 40 59 00 00 ../..2....A.@Y..
00009230 00 00 00 00 00 00 00 00 3F 80 00 00 3F 4C CC CD ........?...?L..
00009240 3F B4 FD F4 00 00 00 00                         ?.......       

;; fn00009248: 00009248
;;   Called from:
;;     0000958E (in fn000093B8)
;;     00009606 (in fn000095D6)
;;     0000965C (in fn000095D6)
fn00009248 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[96]
	rsub	r6,pc
	mov	r7,r12
	mov	r4,r10
	mov	r5,r11
	cp.w	r12,00000001
	breq	000092A2

l00009258:
	ld.d	r9:r8,pc[84]
	rcall	0000F976
	breq	000092A2

l00009262:
	mov	r10,r4
	mov	r11,r5
	rcall	0000F792
	mov	r2,r10
	mov	r3,r11
	cp.w	r7,00000000
	breq	00009276

l00009272:
	mov	r8,00000000
	rjmp	00009290

l00009276:
	mov	r11,r3
	rcall	000101CC
	mov	r8,r4
	mov	r9,r5
	rcall	0000F8EC
	mov	r5,r7
	moveq	r5,00000001

l0000928A:
	cp.b	r5,r7
	srne	r8

l00009290:
	mov	r10,r8
	mov	r11,00000000
	add	r10,r2
	adc	r11,r11,r3
	rcall	000101CC
	mov	r4,r10
	mov	r5,r11

l000092A2:
	mov	r10,r4
	mov	r11,r5
	popm	r0-r3,r4-r7,pc
000092A8                         FF FF 42 5C 43 F0 00 00         ..B\C...
000092B0 00 00 00 00                                     ....           

;; fn000092B4: 000092B4
;;   Called from:
;;     00009302 (in fn000092D8)
;;     000093A8 (in fn000092D8)
fn000092B4 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[32]
	rsub	r6,pc
	ld.w	r12,r6[748]
	mcall	r6[56]
	breq	000092CC

l000092C4:
	mov	r10,00000200
	mov	r11,00000000
	popm	r4-r7,pc

l000092CC:
	mov	r10,00000400
	mov	r11,00000000
	popm	r4-r7,pc
000092D4             FF FF 42 C8                             ..B.       

;; fn000092D8: 000092D8
fn000092D8 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000004
	lddpc	r6,pc[216]
	rsub	r6,pc
	mov	r7,r12
	mov	r2,r11
	mov	r3,r10
	cp.w	r12,00000000
	brne	0000930C

l000092EA:
	ld.w	r12,r6[744]
	mcall	r6[56]
	mov	r7,r12
	brne	0000930C

l000092F6:
	ld.w	r12,r6[740]
	mcall	r6[56]
	mov	r7,r12
	brne	0000930C

l00009302:
	rcall	000092B4
	mov	r5,r7
	st.d	r3[0],r11:r10
	rjmp	0000939A

l0000930C:
	mov	r8,r7
	ld.ub	r9,r8++
	mov	r12,00000000
	mov	r11,00000004
	mov	r10,r8
	mov	r8,00000027
	cp.b	r9,r8
	breq	00009322

l0000931E:
	mov	r5,r12
	rjmp	00009326

l00009322:
	mov	r7,r10
	mov	r5,r11

l00009326:
	sub	r4,pc,FFFFF972
	ld.w	r11,r6[752]
	mov	r9,00000004
	mov	r10,r4
	mov	r12,r7
	rcall	00006DDC
	brlt	0000934A

l0000933A:
	ld.w	r8,r4[r12<<2]
	mov	r9,00000000
	or	r5,r8
	mov	r8,00000001
	st.d	r3[0],r9:r8
	rjmp	0000939A

l0000934A:
	ld.w	r8,r6[736]
	mov	r9,r3
	mov	r10,00000000
	mov	r11,sp
	mov	r12,r7
	rcall	0000CAE0
	brne	00009360

l0000935C:
	lddsp	r10,sp[0]
	rjmp	0000938C

l00009360:
	mov	r8,00000000
	st.w	r2[0],r8
	rjmp	0000939E

l00009366:
	cp.w	r7,r10
	brne	0000938A

l0000936A:
	ld.ub	r9,r7[-1]
	mov	r8,00000042
	sbr	r5,+00000007
	cp.b	r9,r8
	brne	00009386

l00009378:
	ld.ub	r9,r7[-2]
	mov	r8,00000069
	sbr	r5,+00000008
	cp.b	r9,r8
	brne	0000939A

l00009386:
	sbr	r5,+00000005
	rjmp	0000939A

l0000938A:
	sub	r7,FFFFFFFF

l0000938C:
	ld.ub	r8,r7[0]
	mov	r9,00000009
	sub	r8,00000030
	cp.b	r8,r9
	brhi	00009366

l0000939A:
	mov	r12,00000000
	st.w	r2[0],r5

l0000939E:
	ld.d	r9:r8,r3[0]
	cp.w	r8,00000000
	cpc	r9
	brne	000093B0

l000093A8:
	rcall	000092B4
	mov	r12,00000004
	st.d	r3[0],r11:r10

l000093B0:
	sub	sp,FFFFFFFC
	popm	r0-r3,r4-r7,pc
000093B4             FF FF 42 EE                             ..B.       

;; fn000093B8: 000093B8
;;   Called from:
;;     00003754 (in fn00003334)
;;     00003896 (in fn00003334)
;;     000043DC (in fn00004374)
;;     000048CA (in fn00004864)
;;     00004CD2 (in fn00004968)
;;     00004EB8 (in fn00004968)
;;     000054C8 (in fn0000511C)
fn000093B8 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000078
	lddpc	r6,pc[344]
	rsub	r6,pc
	sub	lr,sp,FFFFFF64
	stdsp	sp[20],r9
	andl	r9,0020,COH
	stdsp	sp[32],r9
	st.d	sp[24],r11:r10
	mov	r8,00000400
	ld.d	r11:r10,lr[8]
	mov	r9,000003E8
	lddsp	r7,sp[32]
	st.d	sp[4],r11:r10
	cp.w	r7,00000000
	movne	r9,r8

l000093E8:
	lddsp	r10,sp[20]
	stdsp	sp[40],r9
	ld.d	r9:r8,lr[0]
	bfextu	r10,r10,+00000000,+00000002
	mov	r7,r12
	stdsp	sp[36],r10
	st.d	sp[12],r9:r8
	mcall	r6[436]
	lddsp	r11,sp[20]
	sub	r8,r7,FFFFFD78
	ld.w	r3,r12[0]
	andl	r11,0010,COH
	mov	r5,r12
	mov	r12,r3
	stdsp	sp[0],r11
	stdsp	sp[56],r8
	mcall	r6[16]
	ld.w	r2,r5[4]
	ld.w	r8,r6[732]
	sub	r9,r12,00000001
	cp.w	r9,00000010
	movcc	r3,r8

l00009428:
	movcs	r9,r12

l0000942C:
	movcc	r9,00000001

l00009430:
	stdsp	sp[64],r9
	stdsp	sp[60],r3
	mov	r12,r2
	ld.w	r5,r5[8]
	stdsp	sp[68],r5
	mcall	r6[16]
	ld.d	r11:r10,sp[12]
	ld.w	r8,r6[728]
	cp.w	r12,00000010
	movls	r12,r2

l0000944C:
	movhi	r12,r8

l00009450:
	ld.d	r9:r8,sp[4]
	stdsp	sp[72],r12
	cp.w	r8,r10
	cpc	r9,r11
	brhi	000094AE

l00009460:
	rcall	00010A4C
	cp.w	r10,00000000
	cpc	r11
	brne	00009546

l0000946A:
	ld.d	r9:r8,sp[4]
	ld.d	r11:r10,sp[12]
	rcall	000107C0
	mov	r8,r10
	lddsp	r10,sp[28]
	mov	r9,r11
	mulu.d	r10,r8,r10
	st.d	sp[44],r11:r10
	lddsp	r11,sp[28]
	mul	r10,r9,r11
	lddsp	r11,sp[24]
	mul	r10,r11,r8
	lddsp	r11,sp[44]
	add	r11,r10,r11
	stdsp	sp[44],r11
	ld.d	r11:r10,sp[44]
	rcall	000107C0
	ld.d	r9:r8,sp[24]
	cp.w	r10,r8
	cpc	r11,r9
	brne	00009546

l000094AC:
	rjmp	00009696

l000094AE:
	ld.d	r11:r10,sp[12]
	cp.w	r10,00000000
	cpc	r11
	breq	00009546

l000094B8:
	mov	r8,r10
	mov	r9,r11
	ld.d	r11:r10,sp[4]
	rcall	00010A4C
	cp.w	r10,00000000
	cpc	r11
	brne	00009546

l000094CA:
	ld.d	r9:r8,sp[12]
	ld.d	r11:r10,sp[4]
	rcall	000107C0
	mov	r1,r11
	mov	r8,r10
	mov	r0,r10
	ld.d	r11:r10,sp[24]
	mov	r9,r1
	rcall	00010A4C
	mov	r8,0000000A
	mulu.d	r2,r10,r8
	mov	r9,r1
	mul	r3,r11,r8
	mov	r10,r2
	mov	r8,r0
	mov	r11,r3
	rcall	00010A4C
	add	r10,r10
	adc	r11,r11,r11
	cp.w	r10,r0
	cpc	r11,r1
	brcc	00009518

l0000950A:
	or	r8,r11,r10
	srne	r4
	rjmp	00009526
00009512       D7 03 FF FF 43 CE                           ....C.       

l00009518:
	cp.w	r0,r10
	cpc	r1,r11
	movcc	r4,00000002

l00009522:
	movcs	r4,00000003

l00009526:
	ld.d	r11:r10,sp[24]
	mov	r8,r0
	mov	r9,r1
	rcall	000107C0
	mov	r8,r0
	st.d	sp[44],r11:r10
	mov	r9,r1
	mov	r11,r3
	mov	r10,r2
	rcall	000107C0
	mov	r3,r10
	rjmp	0000969A

l00009546:
	ld.d	r11:r10,sp[24]
	rcall	000101CC
	mov	r0,r10
	mov	r1,r11
	ld.d	r11:r10,sp[12]
	rcall	000101CC
	mov	r2,r10
	mov	r3,r11
	ld.d	r11:r10,sp[4]
	rcall	000101CC
	mov	r8,r10
	mov	r9,r11
	mov	r10,r2
	mov	r11,r3
	rcall	0000FA54
	mov	r8,r10
	mov	r9,r11
	mov	r10,r0
	mov	r11,r1
	rcall	0000F2D0
	mov	r0,r10
	lddsp	r10,sp[0]
	mov	r1,r11
	cp.w	r10,00000000
	brne	000095AA

l00009588:
	lddsp	r12,sp[36]
	mov	r10,r0
	mov	r11,r1
	rcall	00009248
	lddsp	r4,sp[0]
	mov	r9,FFFFFFFF
	stdsp	sp[52],r9
	st.d	--sp,r11:r10
	mov	r12,r7
	ld.w	r11,r6[364]
	mcall	r6[100]
	mov	r12,r7
	mcall	r6[16]
	rjmp	0000967A

l000095AA:
	ld.d	r5:r4,pc[278]
	mov	r8,00000000
	stdsp	sp[52],r8

;; fn000095B2: 000095B2
;;   Called from:
;;     000095B0 (in fn000093B8)
;;     000095EE (in fn000095D6)
fn000095B2 proc
	lddsp	r12,sp[40]
	rcall	0000F7FA
	mov	r3,r11
	mov	r8,r10
	mov	r2,r10
	mov	r9,r3
	mov	r10,r4
	mov	r11,r5
	rcall	0000F2D0
	mov	r8,r2
	mov	r5,r11
	lddsp	r11,sp[52]
	mov	r9,r3
	sub	r11,FFFFFFFF
	stdsp	sp[52],r11
	mov	r11,r5

;; fn000095D6: 000095D6
;;   Called from:
;;     000095D4 (in fn000095B2)
fn000095D6 proc
	mov	r4,r10
	rcall	0000F2D0
	mov	r8,r10
	mov	r9,r11
	mov	r10,r0
	mov	r11,r1
	rcall	0000F91C
	breq	000095F2

l000095EA:
	lddsp	r10,sp[52]
	cp.w	r10,00000007
	brle	000095B2

l000095F2:
	mov	r8,r4
	mov	r9,r5
	mov	r10,r0
	mov	r11,r1
	rcall	0000FA54
	lddsp	r12,sp[36]
	mov	r3,r11
	mov	r11,r3
	mov	r2,r10
	rcall	00009248
	lddsp	r4,sp[64]
	sub	r4,FFFFFFFF
	mov	r12,r7
	st.d	--sp,r11:r10
	ld.w	r11,r6[724]
	mcall	r6[100]
	mov	r12,r7
	mcall	r6[16]
	lddsp	r9,sp[40]
	sub	sp,FFFFFFF8
	cp.w	r9,00000000
	movne	r8,00000001

l00009628:
	moveq	r8,00000002

l0000962C:
	add	r8,r4
	mov	r5,r12
	cp.w	r8,r12
	brcs	0000964C

l00009634:
	lddsp	r8,sp[20]
	bld	r8,+00000003
	brne	0000967E

l0000963C:
	add	r8,r12,r7
	ld.ub	r9,r8[-1]
	mov	r8,00000030
	cp.b	r9,r8
	brne	0000967E

l0000964C:
	ld.d	r9:r8,pc[124]
	mov	r10,r2
	mov	r11,r3
	rcall	0000F2D0
	mov	r4,00000000
	lddsp	r12,sp[36]
	rcall	00009248
	ld.d	r9:r8,pc[104]
	rcall	0000FA54
	mov	r12,r7
	st.d	--sp,r11:r10
	ld.w	r11,r6[364]
	mcall	r6[100]
	mov	r12,r7
	mcall	r6[16]

;; fn0000967A: 0000967A
;;   Called from:
;;     000095A8 (in fn000093B8)
;;     00009676 (in fn000095D6)
fn0000967A proc
	mov	r5,r12
	sub	sp,FFFFFFF8

;; fn0000967E: 0000967E
;;   Called from:
;;     0000963A (in fn000095D6)
;;     0000964A (in fn000095D6)
;;     0000967C (in fn0000967A)
fn0000967E proc
	lddsp	r1,sp[56]
	mov	r11,r7
	sub	r1,r5
	mov	r10,r5
	mov	r12,r1
	mcall	r6[576]
	add	r8,r1,r5
	sub	r12,r8,r4
	rjmp	0000988A

l00009696:
	mov	r3,00000000
	mov	r4,r3

l0000969A:
	lddsp	r8,sp[0]
	cp.w	r8,00000000
	brne	000096A8

l000096A0:
	lddsp	r5,sp[56]
	mov	r7,FFFFFFFF
	stdsp	sp[52],r7
	rjmp	000097C2

l000096A8:
	ld.d	r11:r10,sp[44]
	mov	r1,00000000
	lddsp	r0,sp[40]
	cp.w	r0,r10
	cpc	r1,r11
	brls	000096D0

l000096BA:
	lddsp	r5,sp[56]
	stdsp	sp[52],r1
	rjmp	000097C2
000096C0 3F F0 00 00 00 00 00 00 40 24 00 00 00 00 00 00 ?.......@$......

l000096D0:
	mov	r9,00000000
	stdsp	sp[52],r9

l000096D4:
	ld.d	r11:r10,sp[44]
	mov	r8,r0
	mov	r9,r1
	rcall	00010A4C
	asr	r5,r4,00000001
	mov	r9,0000000A
	mulu.d	r8,r10,r9
	ld.d	r11:r10,sp[44]
	mov	r9,r1
	add	r3,r8
	lddsp	r8,sp[40]
	divu	r2,r3,r8
	mov	r8,r0
	rcall	000107C0
	lddsp	r7,sp[40]
	st.d	sp[44],r11:r10
	add	r5,r5,r3<<1
	add	r8,r5,r4
	mov	r3,r2
	cp.w	r7,r8
	movcc	r4,00000002

l00009714:
	movcs	r4,00000003

l00009718:
	cp.w	r5,r7
	brcc	00009720

l0000971C:
	cp.w	r8,00000000
	srne	r4

l00009720:
	lddsp	r11,sp[52]
	ld.d	r9:r8,sp[44]
	sub	r11,FFFFFFFF
	stdsp	sp[52],r11
	cp.w	r0,r8
	cpc	r1,r9
	brhi	0000973A

l00009734:
	cp.w	r11,00000007
	brle	000096D4

l0000973A:
	ld.d	r11:r10,sp[44]
	cp.w	r10,00000009
	cpc	r11
	brls	0000974A

l00009746:
	lddsp	r5,sp[56]
	rjmp	000097C2

l0000974A:
	lddsp	r10,sp[36]
	cp.w	r10,00000001
	brne	0000975C

l00009750:
	bfextu	r8,r3,+00000000,+00000001
	add	r8,r4
	cp.w	r8,00000002
	srgt	r9
	rjmp	00009768

l0000975C:
	lddsp	r9,sp[36]
	cp.w	r4,00000000
	srgt	r8
	cp.w	r9,00000000
	sreq	r9
	and	r9,r8

l00009768:
	cp.w	r9,00000000
	breq	0000999E

l0000976E:
	sub	r3,FFFFFFFF
	cp.w	r3,0000000A
	brne	0000999C

l00009776:
	ld.d	r11:r10,sp[44]
	mov	r8,00000001
	mov	r9,00000000
	add	r10,r8
	adc	r11,r11,r9
	st.d	sp[44],r11:r10
	cp.w	r10,0000000A
	cpc	r11
	brne	00009794

l0000978E:
	lddsp	r5,sp[56]
	mov	r3,00000000
	rjmp	000097C0

l00009794:
	mov	r3,00000000
	mov	r4,r3

l00009798:
	lddsp	r8,sp[20]
	bld	r8,+00000003
	brne	000097A6

l000097A0:
	lddsp	r5,sp[56]
	mov	r3,00000000
	rjmp	000097C2

l000097A6:
	lddsp	r8,sp[56]
	lddsp	r10,sp[64]
	sub	r8,00000001
	sub	r5,r8,r10
	lddsp	r11,sp[60]
	sub	r9,r3,FFFFFFD0
	mov	r12,r5
	st.b	r8[0],r9
	mcall	r6[36]
	mov	r3,00000000

l000097C0:
	mov	r4,r3

l000097C2:
	lddsp	r9,sp[36]
	cp.w	r9,00000001
	brne	000097EA

l000097C8:
	ld.d	r11:r10,sp[44]
	mov	r8,00000001
	mov	r9,00000000
	and	r10,r8
	and	r11,r9
	mov	r8,r4
	mov	r9,00000000
	add	r10,r8
	adc	r11,r11,r9
	or	r11,r10
	srne	r8
	add	r8,r3
	cp.w	r8,00000005
	srgt	r8
	rjmp	00009802

l000097EA:
	lddsp	r8,sp[36]
	cp.w	r8,00000000
	breq	000097F4

l000097F0:
	mov	r8,00000000
	rjmp	00009800

l000097F4:
	add	r8,r4,r3
	cp.w	r8,00000000
	srle	r8
	eorl	r8,0001

l00009800:
	castu.b	r8

l00009802:
	cp.w	r8,00000000
	breq	0000985E

l00009806:
	ld.d	r11:r10,sp[44]
	mov	r2,00000001
	mov	r3,00000000
	add	r10,r2
	adc	r11,r11,r3
	st.d	sp[44],r11:r10
	lddsp	r10,sp[0]
	cp.w	r10,00000000
	breq	0000985E

l0000981E:
	ld.d	r11:r10,sp[44]
	mov	r9,00000000
	lddsp	r8,sp[40]
	cp.w	r10,r8
	cpc	r11,r9
	brne	0000985E

l0000982E:
	lddsp	r10,sp[52]
	cp.w	r10,00000007
	brgt	0000985E

l00009836:
	lddsp	r8,sp[20]
	sub	r10,FFFFFFFF
	andl	r8,0008,COH
	stdsp	sp[52],r10
	brne	0000985A

l00009842:
	lddsp	r8,sp[64]
	sub	r9,r5,00000001
	sub	r5,r9,r8
	lddsp	r11,sp[60]
	mov	r10,r8
	mov	r12,r5
	mov	r8,00000030
	st.b	r9[0],r8
	mcall	r6[36]

l0000985A:
	st.d	sp[44],r3:r2

l0000985E:
	mov	r1,r5

l00009860:
	ld.d	r11:r10,sp[44]
	mov	r8,0000000A
	mov	r9,00000000
	rcall	00010A4C
	mov	r8,0000000A
	sub	r12,r10,FFFFFFD0
	ld.d	r11:r10,sp[44]
	mov	r9,00000000
	st.b	--r1,r12
	rcall	000107C0
	st.d	sp[44],r11:r10
	cp.w	r10,00000000
	cpc	r11
	brne	00009860

l00009888:
	mov	r12,r5

;; fn0000988A: 0000988A
;;   Called from:
;;     00009694 (in fn0000967E)
;;     00009888 (in fn000093B8)
fn0000988A proc
	lddsp	r8,sp[20]
	bld	r8,+00000002
	brne	000098F4

l00009892:
	sub	r5,r12,r1
	lddsp	r12,sp[72]
	add	r3,r1,r5
	mcall	r6[16]
	mov	r4,FFFFFFFF
	mov	r10,r5
	mov	r7,r12
	mov	r11,r1
	sub	r12,sp,FFFFFFB4

l000098AC:
	mcall	r6[36]
	lddsp	r11,sp[68]
	ld.ub	r9,r11[0]
	cp.w	r9,00000000
	breq	000098CA

l000098B8:
	mov	r8,FFFFFFFF
	sub	r11,FFFFFFFF
	cp.b	r9,r8
	movne	r4,r9

l000098C4:
	moveq	r4,r5

l000098C8:
	stdsp	sp[68],r11

l000098CA:
	cp.w	r4,r5
	movhi	r4,r5

l000098D0:
	sub	r1,r3,r4
	sub	r5,r4
	sub	r11,sp,FFFFFFB4
	add	r11,r5
	mov	r10,r4
	mov	r12,r1
	sub	r3,r1,r7
	mcall	r6[36]
	cp.w	r5,00000000
	breq	000098F4

l000098EC:
	lddsp	r11,sp[72]
	mov	r10,r7
	mov	r12,r3
	rjmp	000098AC

l000098F4:
	lddsp	r8,sp[20]
	bld	r8,+00000007
	brne	000099A6

l000098FC:
	lddsp	r10,sp[52]
	cp.w	r10,00000000
	brge	00009936

l00009902:
	mov	r9,00000000
	mov	r2,00000001
	mov	r3,00000000
	stdsp	sp[52],r9
	rjmp	0000992A

l0000990C:
	lddsp	r8,sp[52]
	sub	r8,FFFFFFFF
	stdsp	sp[52],r8
	cp.w	r8,00000008
	breq	00009936

l00009916:
	lddsp	r10,sp[40]
	mov	r11,00000000
	mul	r8,r3,r10
	mul	r8,r11,r2
	mulu.d	r2,r2,r10
	add	r3,r8,r3

l0000992A:
	ld.d	r9:r8,sp[4]
	cp.w	r2,r8
	cpc	r3,r9
	brcs	0000990C

l00009936:
	lddsp	r9,sp[20]
	lddsp	r8,sp[52]
	andl	r9,0100,COH
	or	r8,r9
	breq	00009952

l00009942:
	lddsp	r8,sp[20]
	bld	r8,+00000006
	brne	00009952

l0000994A:
	lddsp	r7,sp[56]
	mov	r8,00000020
	st.b	r7++,r8
	stdsp	sp[56],r7

l00009952:
	lddsp	r11,sp[52]
	cp.w	r11,00000000
	breq	0000997A

l00009958:
	lddsp	r10,sp[32]
	cp.w	r10,00000000
	brne	00009966

l0000995E:
	cp.w	r11,00000001
	brne	00009966

l00009962:
	mov	r8,0000006B
	rjmp	00009974

l00009966:
	sub	r8,pc,FFFFFFB2
	lddsp	r7,sp[52]
	add	r8,r7,r8
	ld.ub	r8,r8[8]

l00009974:
	lddsp	r11,sp[56]
	st.b	r11++,r8
	stdsp	sp[56],r11

l0000997A:
	cp.w	r9,00000000
	breq	000099A6

l0000997E:
	lddsp	r10,sp[32]
	cp.w	r10,00000000
	breq	00009992

l00009984:
	lddsp	r9,sp[52]
	cp.w	r9,00000000
	breq	00009992

l0000998A:
	lddsp	r7,sp[56]
	mov	r8,00000069
	st.b	r7++,r8
	stdsp	sp[56],r7

l00009992:
	lddsp	r11,sp[56]
	mov	r8,00000042
	st.b	r11++,r8
	stdsp	sp[56],r11
	rjmp	000099A6

l0000999C:
	mov	r4,00000000

l0000999E:
	cp.w	r3,00000000
	brne	000097A6

l000099A4:
	rjmp	00009798

l000099A6:
	lddsp	r10,sp[56]
	mov	r8,00000000
	mov	r12,r1
	st.b	r10[0],r8
	sub	sp,FFFFFF88
	popm	r0-r3,r4-r7,pc
000099B2       D7 03 00 00 00 B0 00 00 00 90 00 4B 4D 47   ...........KMG
000099C0 54 50 45 5A 59 00 D7 03 D4 21 4A 46 1E 26 6D B8 TPEZY....!JF.&m.
000099D0 18 95 70 07 C1 08 EF 39 00 08 0B 88 F0 09 18 00 ..p....9........
000099E0 C0 91 EE CC FF F8 0A 9B F0 16 00 06 C0 31 0E 9C .............1..
000099F0 D8 22 6E 17 58 07 CF 01 6D B8 70 17 C0 E8 EF 39 ."n.X...m.p....9
00009A00 00 08 0B 88 F0 09 18 00 C0 71 EE CC FF F8 0A 9B .........q......
00009A10 F0 16 00 06 C2 10 6E 17 58 07 CF 21 0A 9C F0 16 ......n.X..!....
00009A20 00 6A 18 94 0A 9C F0 16 00 04 2F 7C E0 A0 0F 98 .j......../|....
00009A30 0A 9B 18 97 2F 8C F0 16 00 20 6D BA 58 04 C0 80 ..../.... m.X...
00009A40 68 28 74 09 0E 9C 8F 08 8F 19 95 07 D8 22 74 18 h(t.........."t.
00009A50 08 9C 95 17 8F 18 D8 22 FF FF 49 DC             ......."..I.   

;; fn00009A5C: 00009A5C
;;   Called from:
;;     000037AA (in fn00003334)
;;     00004DD4 (in fn00004968)
fn00009A5C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[104]
	rsub	r6,pc
	ld.w	r8,r6[-20]
	mov	r4,r12
	ld.w	r12,r8[0]
	rjmp	00009A76

l00009A6A:
	ld.w	r8,r12[0]
	cp.w	r8,r4
	brne	00009A74

l00009A70:
	mov	r7,r12
	rjmp	00009AAE

l00009A74:
	ld.w	r12,r12[4]

l00009A76:
	cp.w	r12,00000000
	brne	00009A6A

l00009A7A:
	rjmp	00009AA0

l00009A7C:
	ld.w	r5,r12[0]

l00009A7E:
	mov	r12,r5
	mcall	r6[16]
	sub	r12,FFFFFFF7
	rcall	0000B95C
	mov	r11,r5
	mov	r7,r12
	st.w	r12[0],r4
	sub	r12,FFFFFFF8
	mcall	r6[128]
	ld.w	r9,r6[-20]
	ld.w	r8,r9[0]
	st.w	r7[4],r8
	st.w	r9[0],r7
	rjmp	00009AAE

l00009AA0:
	mov	r12,r4
	mcall	r6[564]
	brne	00009A7C

l00009AA8:
	ld.w	r5,r6[360]
	rjmp	00009A7E

l00009AAE:
	ld.ub	r8,r7[8]
	sub	r12,r7,FFFFFFF8
	mov	r9,00000000
	cp.b	r8,r9
	moveq	r12,00000000

l00009AC0:
	popm	r4-r7,pc
00009AC2       D7 03 FF FF 4A 70 D4 21 4A 46 1E 26 6D B8   ....Jp.!JF.&m.
00009AD0 18 95 70 27 C1 08 EF 39 00 08 0B 88 F0 09 18 00 ..p'...9........
00009AE0 C0 91 EE CC FF F8 0A 9B F0 16 00 06 C0 31 0E 9C .............1..
00009AF0 D8 22 6E 17 58 07 CF 01 6D B8 70 37 C0 E8 EF 39 ."n.X...m.p7...9
00009B00 00 08 0B 88 F0 09 18 00 C0 71 EE CC FF F8 0A 9B .........q......
00009B10 F0 16 00 06 C2 10 6E 17 58 07 CF 21 0A 9C F0 16 ......n.X..!....
00009B20 00 73 18 94 0A 9C F0 16 00 04 2F 7C E0 A0 0F 18 .s......../|....
00009B30 0A 9B 18 97 2F 8C F0 16 00 20 6D BA 58 04 C0 80 ..../.... m.X...
00009B40 68 28 74 29 0E 9C 8F 08 8F 19 95 27 D8 22 74 38 h(t).......'."t8
00009B50 08 9C 95 37 8F 18 D8 22 FF FF 4A DC             ...7..."..J.   

;; fn00009B5C: 00009B5C
;;   Called from:
;;     00003326 (in fn0000330C)
;;     0000392A (in fn00003904)
fn00009B5C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[104]
	rsub	r6,pc
	ld.w	r8,r6[-20]
	mov	r4,r12
	ld.w	r12,r8[8]
	rjmp	00009B76

l00009B6A:
	ld.w	r8,r12[0]
	cp.w	r8,r4
	brne	00009B74

l00009B70:
	mov	r7,r12
	rjmp	00009BAE

l00009B74:
	ld.w	r12,r12[4]

l00009B76:
	cp.w	r12,00000000
	brne	00009B6A

l00009B7A:
	rjmp	00009BA0

l00009B7C:
	ld.w	r5,r12[0]

l00009B7E:
	mov	r12,r5
	mcall	r6[16]
	sub	r12,FFFFFFF7
	rcall	0000B95C
	mov	r11,r5
	mov	r7,r12
	st.w	r12[0],r4
	sub	r12,FFFFFFF8
	mcall	r6[128]
	ld.w	r9,r6[-20]
	ld.w	r8,r9[8]
	st.w	r7[4],r8
	st.w	r9[8],r7
	rjmp	00009BAE

l00009BA0:
	mov	r12,r4
	mcall	r6[464]
	brne	00009B7C

l00009BA8:
	ld.w	r5,r6[360]
	rjmp	00009B7E

l00009BAE:
	ld.ub	r8,r7[8]
	sub	r12,r7,FFFFFFF8
	mov	r9,00000000
	cp.b	r8,r9
	moveq	r12,00000000

l00009BC0:
	popm	r4-r7,pc
00009BC2       D7 03 FF FF 4B 70                           ....Kp       

;; fn00009BC8: 00009BC8
;;   Called from:
;;     00004FBA (in fn00004968)
fn00009BC8 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[116]
	rsub	r6,pc
	sub	r7,r12,FFFFFFEC
	mov	r8,00000000
	st.b	r7[0],r8
	mov	r4,r10
	mov	r5,r11
	cp.w	r4,00000000
	cpc	r5
	brge	00009C0E

l00009BE0:
	mov	r8,0000000A
	mov	r9,00000000
	mov	r10,r4
	mov	r11,r5
	rcall	000104EA
	mov	r11,r5
	rsub	r10,r10,00000030
	st.b	--r7,r10
	mov	r8,0000000A
	mov	r10,r4
	mov	r9,00000000
	rcall	00010208
	mov	r4,r10
	mov	r5,r11
	cp.w	r4,00000000
	cpc	r5
	brne	00009BE0

l00009C08:
	mov	r8,0000002D
	st.b	--r7,r8
	rjmp	00009C36

l00009C0E:
	mov	r8,0000000A
	mov	r9,00000000
	mov	r10,r4
	mov	r11,r5
	rcall	000104EA
	mov	r11,r5
	sub	r12,r10,FFFFFFD0
	mov	r8,0000000A
	mov	r10,r4
	mov	r9,00000000
	st.b	--r7,r12
	rcall	00010208
	mov	r4,r10
	mov	r5,r11
	cp.w	r4,00000000
	cpc	r5
	brne	00009C0E

l00009C36:
	mov	r12,r7
	popm	r4-r7,pc
00009C3A                               D7 03 FF FF 4B DC           ....K.

;; fn00009C40: 00009C40
;;   Called from:
;;     00009C80 (in fn00009C40)
;;     00009CA0 (in fn00009C40)
;;     00009CAA (in fn00009C40)
;;     00009D78 (in fn00009D6C)
fn00009C40 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000018
	lddpc	r6,pc[292]
	rsub	r6,pc
	stdsp	sp[12],r11
	stdsp	sp[8],r10
	stdsp	sp[4],r9
	mov	r3,r12
	cp.w	r11,00000002
	brhi	00009C70

l00009C56:
	brne	00009D62

l00009C5A:
	mov	r5,r12
	ld.w	r4,r5++
	ld.w	r7,r5[0]
	mov	r12,r4
	mov	r11,r7
	icall	r9
	brle	00009D62

l00009C6A:
	st.w	r3[0],r7
	st.w	r5[0],r4
	rjmp	00009D62

l00009C70:
	lddsp	r0,sp[12]
	lddsp	r11,sp[12]
	lsr	r0,+00000001
	add	r8,r12,r0<<2
	sub	r11,r0
	mov	r12,r8
	stdsp	sp[16],r8
	rcall	00009C40
	cp.w	r0,00000001
	brne	00009C8E

l00009C86:
	ld.w	r8,r3[0]
	lddsp	r9,sp[8]
	st.w	r9[0],r8
	rjmp	00009D02

l00009C8E:
	lddsp	r4,sp[12]
	lddsp	r9,sp[4]
	lsr	r4,+00000002
	add	r5,r3,r4<<2
	lddsp	r10,sp[8]
	mov	r12,r5
	sub	r11,r0,r4
	rcall	00009C40
	lddsp	r9,sp[4]
	lddsp	r10,sp[8]
	mov	r11,r4
	mov	r12,r3
	rcall	00009C40
	ld.w	r1,r5[0]
	lddsp	r5,sp[8]
	ld.w	r2,r3[0]
	sub	r5,FFFFFFFC
	mov	r7,r4
	mov	r8,00000000
	rjmp	00009CBC

l00009CBA:
	sub	r5,FFFFFFFC

l00009CBC:
	lddsp	r9,sp[4]
	mov	r11,r1
	mov	r12,r2
	stdsp	sp[0],r8
	icall	r9
	lddsp	r8,sp[0]
	brgt	00009CDC

l00009CCC:
	st.w	r5[-4],r2
	sub	r8,FFFFFFFF
	cp.w	r8,r4
	breq	00009CF0

l00009CD6:
	ld.w	r2,r3[r8<<2]
	rjmp	00009CBA

l00009CDC:
	st.w	r5[-4],r1
	sub	r7,FFFFFFFF
	cp.w	r7,r0
	brne	00009CEA

l00009CE6:
	mov	r7,r8
	rjmp	00009CF2

l00009CEA:
	ld.w	r1,r3[r7<<2]
	rjmp	00009CBA

l00009CF0:
	mov	r4,r0

l00009CF2:
	sub	r10,r4,r7
	lsl	r10,+00000002
	add	r11,r3,r7<<2
	mov	r12,r5
	mcall	r6[36]

l00009D02:
	lddsp	r8,sp[16]
	lddsp	r9,sp[8]
	ld.w	r2,r8[0]
	ld.w	r4,r9[0]
	mov	r8,00000001
	mov	r5,r3
	mov	r7,r0
	mov	r1,00000000
	stdsp	sp[20],r8
	rjmp	00009D1E

l00009D16:
	lddsp	r9,sp[20]
	sub	r5,FFFFFFFC
	sub	r9,FFFFFFFF
	stdsp	sp[20],r9

l00009D1E:
	lddsp	r8,sp[4]
	mov	r11,r2
	mov	r12,r4
	icall	r8
	brgt	00009D3A

l00009D2A:
	st.w	r5[0],r4
	sub	r1,FFFFFFFF
	cp.w	r1,r0
	breq	00009D62

l00009D32:
	lddsp	r9,sp[8]
	ld.w	r4,r9[r1<<2]
	rjmp	00009D16

l00009D3A:
	st.w	r5[0],r2
	lddsp	r8,sp[12]
	sub	r7,FFFFFFFF
	cp.w	r7,r8
	brne	00009D5C

l00009D44:
	lddsp	r9,sp[8]
	lddsp	r8,sp[20]
	sub	r10,r0,r1
	add	r11,r9,r1<<2
	add	r12,r3,r8<<2
	lsl	r10,+00000002
	mcall	r6[36]
	rjmp	00009D62

l00009D5C:
	ld.w	r2,r3[r7<<2]
	rjmp	00009D16

l00009D62:
	sub	sp,FFFFFFE8
	popm	r0-r3,r4-r7,pc
00009D66                   D7 03 FF FF 4C 56                   ....LV   

;; fn00009D6C: 00009D6C
;;   Called from:
;;     000039E0 (in fn0000393C)
fn00009D6C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[16]
	rsub	r6,pc
	mov	r9,r10
	add	r10,r12,r11<<2
	rcall	00009C40
	popm	r4-r7,pc
00009D7C                                     FF FF 4D 80             ..M.

;; fn00009D80: 00009D80
;;   Called from:
;;     00006DB6 (in fn00006D9C)
;;     00009D9E (in fn00009D94)
fn00009D80 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[16]
	rsub	r6,pc
	mov	r10,r11
	mov	r11,00000006
	rcall	0000A7C8
	popm	r4-r7,pc
00009D90 FF FF 4D 94                                     ..M.           

;; fn00009D94: 00009D94
fn00009D94 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[16]
	rsub	r6,pc
	mov	r11,r12
	mov	r12,00000000
	rcall	00009D80
	popm	r4-r7,pc
00009DA2       D7 03 FF FF 4D A8                           ....M.       

;; fn00009DA8: 00009DA8
fn00009DA8 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[20]
	rsub	r6,pc
	ld.w	r8,r6[-36]
	cp.w	r12,00000000
	moveq	r12,r8

l00009DB6:
	ld.w	r12,r12[0]
	popm	r4-r7,pc
00009DBA                               D7 03 FF FF 4D BC           ....M.

;; fn00009DC0: 00009DC0
fn00009DC0 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[20]
	rsub	r6,pc
	ld.w	r8,r6[-36]
	cp.w	r12,00000000
	moveq	r12,r8

l00009DCE:
	st.w	r12[0],r11
	popm	r4-r7,pc
00009DD2       D7 03 FF FF 4D D4                           ....M.       

;; fn00009DD8: 00009DD8
;;   Called from:
;;     0000A73A (in fn0000A708)
fn00009DD8 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[56]
	rsub	r6,pc
	ld.w	r8,r6[-36]
	bfextu	r10,r10,+00000000,+00000001
	cp.w	r12,00000000
	moveq	r12,r8

l00009DEA:
	bfextu	r8,r11,+00000005,+00000008
	add	r8,r12,r8<<2
	ld.w	r9,r8[8]
	bfextu	r11,r11,+00000000,+00000005
	lsr	r12,r9,r11
	bfextu	r12,r12,+00000000,+00000001
	eor	r10,r12,r10
	lsl	r10,r10,r11
	eor	r10,r9
	st.w	r8[8],r10
	popm	r4-r7,pc
00009E0E                                           D7 03               ..
00009E10 FF FF 4D EC D4 21 48 66 1E 26 6D 78 58 0C F0 0C ..M..!Hf.&mxX...
00009E20 17 00 78 18 99 1B 10 9C D8 22 D7 03 FF FF 4E 28 ..x......"....N(

;; fn00009E30: 00009E30
;;   Called from:
;;     0000A798 (in fn0000A788)
;;     0000A7D6 (in fn0000A7C8)
fn00009E30 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000028
	lddpc	r6,pc[64]
	rsub	r6,pc
	mov	r8,00000000
	mov	r5,r12
	stdsp	sp[0],r11
	mov	r10,00000020
	mov	r11,r8
	sub	r12,sp,FFFFFFF8
	stdsp	sp[4],r8
	mcall	r6[44]
	ldm	sp,r0-r3
	stm	r5,r0-r3
	sub	r8,sp,FFFFFFF0
	ldm	r8,r0-r3
	ld.d	r9:r8,sp[32]
	sub	r10,r5,FFFFFFF0
	stm	r10,r0-r3
	mov	r12,r5
	st.d	r5[32],r9:r8
	sub	sp,FFFFFFD8
	popm	r0-r3,r4-r7,pc
00009E72       D7 03 FF FF 4E 46 D4 31 49 86 1E 26 EC F8   ....NF.1I..&..
00009E80 00 D4 30 14 70 05 EA C7 FF F4 C0 68 6E 0C 2F F4 ..0.p......hn./.
00009E90 F0 16 00 03 2F 87 EC F3 01 64 66 08 10 34 CF 73 ..../....df..4.s
00009EA0 6D 78 6A 1C F0 C7 FF D8 0E 3C C0 90 F0 16 00 03 mxj......<......
00009EB0 EC F9 00 D4 E0 68 01 00 93 27 93 18 EC F4 00 D4 .....h...'......
00009EC0 E8 C7 FF FC 0E 35 C0 50 0A 9C F0 16 00 03 89 07 .....5.P........
00009ED0 30 18 87 08 D8 32 D7 03 FF FF 4E 8C             0....2....N.   

;; fn00009EDC: 00009EDC
;;   Called from:
;;     0000A6DA (in fn0000A614)
;;     0000A89A (in fn0000A850)
fn00009EDC proc
	pushm	r4-r7,lr
	lddpc	r6,pc[12]
	rsub	r6,pc
	rcall	0000B95C
	popm	r4-r7,pc
00009EE8                         FF FF 4E F0                     ..N.   

;; fn00009EEC: 00009EEC
;;   Called from:
;;     0000A5EC (in fn00009EEC)
;;     0000A6B8 (in fn0000A614)
;;     0000A6EE (in fn0000A614)
;;     0000A88E (in fn0000A850)
;;     0000A8AC (in fn0000A850)
;;     0000A912 (in fn0000A8DC)
fn00009EEC proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,0000003C
	lddpc	r6,pc[288]
	rsub	r6,pc
	lddsp	r7,sp[96]
	sub	lr,sp,FFFFFFA0
	ld.w	lr,lr[4]
	stdsp	sp[0],lr
	stdsp	sp[4],r7
	stdsp	sp[8],r8
	stdsp	sp[20],r12
	mov	r0,r11
	stdsp	sp[16],r10
	stdsp	sp[12],r9
	mcall	r6[172]
	bfextu	r2,r7,+00000001,+00000001
	lddsp	lr,sp[8]
	stdsp	sp[24],r12
	cp.w	lr,00000007
	brhi	0000A028

l00009F1C:
	sub	r8,pc,FFFFFFF4
	add	pc,r8,lr<<2
00009F24             D7 03 D7 03                             ....       

l00009F28:
	br	0000A02C

l00009F2C:
	br	00009F48

l00009F30:
	br	00009FEA

l00009F34:
	br	00009F5E

l00009F38:
	br	0000A5F6

l00009F3C:
	br	00009F96

l00009F40:
	br	00009FA2

l00009F44:
	br	00009FA2

l00009F48:
	mov	r11,00000001
	ld.w	r10,r6[180]
	mov	r3,00000000
	mov	r9,00000002
	mov	r2,r11
	stdsp	sp[36],r11
	stdsp	sp[32],r10
	stdsp	sp[40],r3
	stdsp	sp[8],r9
	rjmp	0000A036

l00009F5E:
	cp.w	r2,00000000
	breq	00009F72

l00009F62:
	ld.w	r7,r6[176]
	mov	r8,00000001
	mov	r3,00000000
	stdsp	sp[40],r8
	stdsp	sp[32],r7
	stdsp	sp[36],r8
	rjmp	0000A036

l00009F72:
	cp.w	r0,00000000
	brne	00009F82

l00009F76:
	ld.w	lr,r6[176]
	mov	r3,00000001
	stdsp	sp[32],lr
	stdsp	sp[36],r3
	rjmp	00009FFA

l00009F82:
	mov	r3,00000001
	ld.w	r11,r6[176]
	lddsp	r10,sp[20]
	stdsp	sp[32],r11
	stdsp	sp[36],r3
	stdsp	sp[40],r3
	mov	r8,00000022
	st.b	r10[0],r8
	rjmp	0000A036

l00009F96:
	mov	r3,00000000
	mov	r9,00000001
	stdsp	sp[32],r3
	stdsp	sp[36],r3
	stdsp	sp[40],r9
	rjmp	0000A034

l00009FA2:
	ld.w	r8,r6[176]
	ld.w	r9,r6[180]
	lddsp	r7,sp[8]
	cp.w	r7,00000007
	moveq	r11,r8

l00009FB2:
	movne	r11,r9

l00009FB6:
	ld.w	r9,r6[720]
	cp.w	r7,00000007
	moveq	r9,r8

l00009FC0:
	cp.w	r2,00000000
	breq	00009FC8

l00009FC4:
	mov	r3,00000000
	rjmp	00009FE0

l00009FC8:
	mov	r3,r2
	rjmp	00009FD8

l00009FCC:
	cp.w	r3,r0
	brcc	00009FD6

l00009FD0:
	lddsp	lr,sp[20]
	st.b	r3[lr],r8

l00009FD6:
	sub	r3,FFFFFFFF

l00009FD8:
	ld.ub	r8,r3[r9]
	cp.w	r8,00000000
	brne	00009FCC

l00009FE0:
	mov	r10,00000001
	stdsp	sp[40],r10
	stdsp	sp[32],r11
	stdsp	sp[36],r10
	rjmp	0000A036

l00009FEA:
	cp.w	r2,00000000
	breq	00009FFE

l00009FEE:
	ld.w	r9,r6[180]
	mov	r8,00000001
	mov	r3,00000000
	stdsp	sp[32],r9
	stdsp	sp[36],r8

l00009FFA:
	stdsp	sp[40],r3
	rjmp	0000A036

l00009FFE:
	cp.w	r0,00000000
	brne	0000A014

l0000A002:
	ld.w	r7,r6[180]
	mov	r3,00000001
	stdsp	sp[32],r7
	stdsp	sp[36],r3
	stdsp	sp[40],r2
	rjmp	0000A036
0000A010 FF FF 4F 02                                     ..O.           

l0000A014:
	mov	r3,00000001
	ld.w	lr,r6[180]
	lddsp	r11,sp[20]
	stdsp	sp[32],lr
	stdsp	sp[36],r3
	stdsp	sp[40],r2
	mov	r8,00000027
	st.b	r11[0],r8
	rjmp	0000A036

l0000A028:
	mcall	r6[76]

l0000A02C:
	mov	r3,00000000
	stdsp	sp[32],r3
	stdsp	sp[36],r3
	stdsp	sp[40],r3

l0000A034:
	mov	r2,r3

l0000A036:
	mov	r10,00000000
	stdsp	sp[28],r10
	br	0000A56A
0000A03E                                           D7 03               ..

l0000A040:
	lddsp	r9,sp[40]
	cp.w	r9,00000000
	breq	0000A07E

l0000A046:
	lddsp	r8,sp[36]
	cp.w	r8,00000000
	breq	0000A07E

l0000A04C:
	lddsp	r8,sp[28]
	lddsp	r7,sp[36]
	lddsp	lr,sp[12]
	add	r8,r7
	cp.w	r8,lr
	brhi	0000A07E

l0000A05A:
	lddsp	r12,sp[16]
	lddsp	r9,sp[28]
	lddsp	r11,sp[32]
	mov	r10,r7
	add	r12,r9
	mcall	r6[168]
	brne	0000A07E

l0000A06A:
	cp.w	r2,00000000
	brne	0000A5D4

l0000A070:
	cp.w	r3,r0
	brcc	0000A07C

l0000A074:
	lddsp	r7,sp[20]
	mov	r8,0000005C
	st.b	r7[r3],r8

l0000A07C:
	sub	r3,FFFFFFFF

l0000A07E:
	lddsp	lr,sp[16]
	lddsp	r11,sp[28]
	ld.ub	r7,lr[r11]
	cp.w	r7,00000000
	breq	0000A1FC

l0000A08C:
	mov	r8,00000007
	cp.b	r7,r8
	breq	0000A302

l0000A096:
	mov	r8,00000008
	cp.b	r7,r8
	breq	0000A306

l0000A0A0:
	mov	r8,00000009
	cp.b	r7,r8
	breq	0000A1F8

l0000A0AA:
	mov	r8,0000000A
	cp.b	r7,r8
	breq	0000A30A

l0000A0B4:
	mov	r8,0000000B
	cp.b	r7,r8
	breq	0000A1F4

l0000A0BE:
	mov	r8,0000000C
	cp.b	r7,r8
	breq	0000A1EC

l0000A0C8:
	mov	r8,0000000D
	cp.b	r7,r8
	breq	0000A1F0

l0000A0D2:
	mov	r8,00000020
	cp.b	r7,r8
	brcs	0000A3AE

l0000A0DC:
	mov	r8,00000022
	cp.b	r7,r8
	brls	0000A362

l0000A0E6:
	mov	r8,00000023
	cp.b	r7,r8
	breq	0000A35A

l0000A0F0:
	mov	r8,00000024
	cp.b	r7,r8
	breq	0000A362

l0000A0FA:
	mov	r8,00000025
	cp.b	r7,r8
	breq	0000A520

l0000A104:
	mov	r8,00000026
	cp.b	r7,r8
	breq	0000A362

l0000A10E:
	mov	r8,00000027
	cp.b	r7,r8
	breq	0000A372

l0000A118:
	mov	r8,00000028
	cp.b	r7,r8
	brcs	0000A3AE

l0000A122:
	mov	r8,0000002A
	cp.b	r7,r8
	brls	0000A362

l0000A12C:
	mov	r8,0000002B
	cp.b	r7,r8
	brcs	0000A3AE

l0000A136:
	mov	r8,0000003A
	cp.b	r7,r8
	brls	0000A520

l0000A140:
	mov	r8,0000003B
	cp.b	r7,r8
	brcs	0000A3AE

l0000A14A:
	mov	r8,0000003E
	cp.b	r7,r8
	brls	0000A362

l0000A154:
	mov	r8,0000003F
	cp.b	r7,r8
	breq	0000A26C

l0000A15E:
	mov	r8,00000041
	cp.b	r7,r8
	brcs	0000A3AE

l0000A168:
	mov	r8,0000005A
	cp.b	r7,r8
	brls	0000A520

l0000A172:
	mov	r8,0000005B
	cp.b	r7,r8
	breq	0000A362

l0000A17C:
	mov	r8,0000005C
	cp.b	r7,r8
	breq	0000A30E

l0000A186:
	mov	r8,0000005D
	cp.b	r7,r8
	breq	0000A520

l0000A190:
	mov	r8,0000005E
	cp.b	r7,r8
	breq	0000A362

l0000A19A:
	mov	r8,0000005F
	cp.b	r7,r8
	breq	0000A520

l0000A1A4:
	mov	r8,00000060
	cp.b	r7,r8
	breq	0000A362

l0000A1AE:
	mov	r8,00000061
	cp.b	r7,r8
	brcs	0000A3AE

l0000A1B8:
	mov	r8,0000007A
	cp.b	r7,r8
	brls	0000A520

l0000A1C2:
	mov	r8,0000007B
	cp.b	r7,r8
	breq	0000A33A

l0000A1CC:
	mov	r8,0000007C
	cp.b	r7,r8
	breq	0000A362

l0000A1D6:
	mov	r8,0000007D
	cp.b	r7,r8
	breq	0000A33A

l0000A1E0:
	mov	r8,0000007E
	cp.b	r7,r8
	brne	0000A3AE

l0000A1EA:
	rjmp	0000A35A

l0000A1EC:
	mov	r8,00000066
	rjmp	0000A32E

l0000A1F0:
	mov	r8,00000072
	rjmp	0000A322

l0000A1F4:
	mov	r8,00000076
	rjmp	0000A32E

l0000A1F8:
	mov	r8,00000074
	rjmp	0000A322

l0000A1FC:
	lddsp	r10,sp[40]
	cp.w	r10,00000000
	breq	0000A260

l0000A202:
	cp.w	r2,00000000
	brne	0000A5D4

l0000A208:
	cp.w	r3,r0
	brcc	0000A214

l0000A20C:
	lddsp	r9,sp[20]
	mov	r8,0000005C
	st.b	r9[r3],r8

l0000A214:
	lddsp	r8,sp[28]
	lddsp	r7,sp[12]
	sub	r8,FFFFFFFF
	sub	r3,FFFFFFFF
	cp.w	r8,r7
	brcc	0000A52C

l0000A222:
	lddsp	r8,sp[28]
	lddsp	lr,sp[16]
	add	r8,lr
	ld.ub	r9,r8[1]
	mov	r8,0000002F
	cp.b	r9,r8
	brls	0000A52C

l0000A234:
	mov	r8,00000039
	cp.b	r9,r8
	brhi	0000A52C

l0000A23E:
	cp.w	r3,r0
	brcc	0000A24A

l0000A242:
	lddsp	r11,sp[20]
	mov	r8,00000030
	st.b	r11[r3],r8

l0000A24A:
	sub	r12,r3,FFFFFFFF
	cp.w	r12,r0
	brcc	0000A25A

l0000A252:
	lddsp	r10,sp[20]
	mov	r8,00000030
	st.b	r10[r12],r8

l0000A25A:
	sub	r3,r12,FFFFFFFF
	rjmp	0000A52C

l0000A260:
	lddsp	r9,sp[4]
	bld	r9,+00000000
	breq	0000A564

l0000A26A:
	rjmp	0000A526

l0000A26C:
	lddsp	r8,sp[8]
	cp.w	r8,00000002
	breq	0000A36A

l0000A272:
	cp.w	r8,00000003
	brne	0000A520

l0000A278:
	lddsp	r8,sp[4]
	bld	r8,+00000002
	brne	0000A520

l0000A282:
	lddsp	lr,sp[28]
	lddsp	r11,sp[12]
	sub	lr,FFFFFFFE
	cp.w	lr,r11
	brcc	0000A520

l0000A28E:
	lddsp	r10,sp[16]
	lddsp	r9,sp[28]
	mov	r8,0000003F
	add	r10,r9
	ld.ub	r11,r10[1]
	cp.b	r11,r8
	brne	0000A520

l0000A2A0:
	ld.ub	r10,r10[2]
	mov	r8,0000001D
	sub	r9,r10,00000021
	cp.b	r9,r8
	brhi	0000A520

l0000A2B0:
	mov	r8,00000001
	lsl	r8,r8,r9
	lddpc	r9,pc[276]
	and	r8,r9
	breq	0000A520

l0000A2BE:
	cp.w	r2,00000000
	brne	0000A5D4

l0000A2C4:
	cp.w	r3,r0
	brcc	0000A2CE

l0000A2C8:
	lddsp	r8,sp[20]
	st.b	r8[r3],r11

l0000A2CE:
	sub	r12,r3,FFFFFFFF
	cp.w	r12,r0
	brcc	0000A2DE

l0000A2D6:
	lddsp	r7,sp[20]
	mov	r8,00000022
	st.b	r7[r12],r8

l0000A2DE:
	sub	r12,FFFFFFFF
	cp.w	r12,r0
	brcc	0000A2EC

l0000A2E4:
	lddsp	r9,sp[20]
	mov	r8,00000022
	st.b	r9[r12],r8

l0000A2EC:
	sub	r12,FFFFFFFF
	cp.w	r12,r0
	brcc	0000A2F8

l0000A2F2:
	lddsp	r8,sp[20]
	st.b	r8[r12],r11

l0000A2F8:
	sub	r3,r12,FFFFFFFF
	mov	r7,r10
	stdsp	sp[28],lr
	rjmp	0000A520

l0000A302:
	mov	r8,00000061
	rjmp	0000A32E

l0000A306:
	mov	r8,00000062
	rjmp	0000A32E

l0000A30A:
	mov	r8,0000006E
	rjmp	0000A322

l0000A30E:
	lddsp	lr,sp[40]
	cp.w	lr,00000000
	breq	0000A320

l0000A314:
	cp.w	r2,00000000
	breq	0000A320

l0000A318:
	lddsp	r11,sp[36]
	cp.w	r11,00000000
	brne	0000A558

l0000A320:
	mov	r8,0000005C

l0000A322:
	lddsp	r10,sp[8]
	cp.w	r10,00000002
	brne	0000A32E

l0000A328:
	cp.w	r2,00000000
	brne	0000A5D4

l0000A32E:
	lddsp	r9,sp[40]
	cp.w	r9,00000000
	breq	0000A526

l0000A336:
	mov	r7,r8
	rjmp	0000A546

l0000A33A:
	lddsp	r8,sp[12]
	cp.w	r8,FFFFFFFF
	brne	0000A34E

l0000A340:
	lddsp	lr,sp[16]
	mov	r8,00000000
	ld.ub	r9,lr[1]
	cp.b	r9,r8
	srne	r8
	rjmp	0000A354

l0000A34E:
	lddsp	r11,sp[12]
	cp.w	r11,00000001
	srne	r8

l0000A354:
	cp.w	r8,00000000
	brne	0000A520

l0000A35A:
	lddsp	r10,sp[28]
	cp.w	r10,00000000
	brne	0000A520

l0000A362:
	lddsp	r9,sp[8]
	cp.w	r9,00000002
	brne	0000A520

l0000A36A:
	cp.w	r2,00000000
	breq	0000A520

l0000A370:
	rjmp	0000A5D4

l0000A372:
	lddsp	r8,sp[8]
	cp.w	r8,00000002
	brne	0000A520

l0000A37A:
	cp.w	r2,00000000
	brne	0000A5D4

l0000A380:
	cp.w	r3,r0
	brcc	0000A38A

l0000A384:
	lddsp	lr,sp[20]
	st.b	lr[r3],r7

l0000A38A:
	sub	r12,r3,FFFFFFFF
	cp.w	r12,r0
	brcc	0000A39A

l0000A392:
	lddsp	r11,sp[20]
	mov	r8,0000005C
	st.b	r11[r12],r8

l0000A39A:
	sub	r12,FFFFFFFF
	cp.w	r12,r0
	brcc	0000A3A8

l0000A3A0:
	lddsp	r10,sp[20]
	mov	r8,00000027
	st.b	r10[r12],r8

l0000A3A8:
	sub	r3,r12,FFFFFFFF
	rjmp	0000A520

l0000A3AE:
	lddsp	r9,sp[24]
	cp.w	r9,00000001
	brne	0000A3CC

l0000A3B4:
	ld.w	r8,r6[156]
	mov	r1,r9
	ld.w	r8,r8[0]
	ld.uh	r8,r8[r7<<1]
	bfextu	r8,r8,+00000006,+00000001
	stdsp	sp[44],r8
	rjmp	0000A49A
0000A3C8                         38 00 51 C1                     8.Q.   

l0000A3CC:
	mov	r8,00000000
	mov	r9,00000000
	st.d	sp[48],r9:r8
	lddsp	r8,sp[12]
	cp.w	r8,FFFFFFFF
	brne	0000A3E2

l0000A3DA:
	lddsp	r12,sp[16]
	mcall	r6[16]
	stdsp	sp[12],r12

l0000A3E2:
	mov	lr,00000001
	mov	r1,00000000
	stdsp	sp[44],lr

l0000A3E8:
	lddsp	r11,sp[28]
	lddsp	r4,sp[16]
	add	r5,r1,r11
	lddsp	r10,sp[12]
	add	r4,r5
	sub	r10,r5
	sub	r9,sp,FFFFFFD0
	mov	r11,r4
	sub	r12,sp,FFFFFFC8
	mcall	r6[248]
	mov	r10,r12
	breq	0000A494

l0000A408:
	cp.w	r12,FFFFFFFF
	breq	0000A490

l0000A40C:
	cp.w	r12,FFFFFFFE
	brne	0000A428

l0000A410:
	mov	r9,r5
	mov	r11,r4
	rjmp	0000A418

l0000A416:
	sub	r1,FFFFFFFF

l0000A418:
	lddsp	r10,sp[12]
	cp.w	r9,r10
	brcc	0000A490

l0000A41E:
	ld.ub	r8,r11++
	sub	r9,FFFFFFFF
	cp.w	r8,00000000
	brne	0000A416

l0000A426:
	rjmp	0000A490

l0000A428:
	cp.w	r2,00000000
	breq	0000A474

l0000A42C:
	lddsp	r9,sp[8]
	cp.w	r9,00000002
	brne	0000A474

l0000A432:
	sub	r11,r4,FFFFFFFF
	mov	r12,00000001
	rjmp	0000A470

l0000A43A:
	ld.ub	r9,r11[0]
	mov	r8,0000005B
	cp.b	r9,r8
	brcs	0000A46C

l0000A444:
	mov	r8,0000005C
	cp.b	r9,r8
	brls	0000A5D4

l0000A44E:
	mov	r8,0000005E
	cp.b	r9,r8
	breq	0000A5D4

l0000A458:
	mov	r8,00000060
	cp.b	r9,r8
	breq	0000A5D4

l0000A462:
	mov	r8,0000007C
	cp.b	r9,r8
	breq	0000A5D4

l0000A46C:
	sub	r12,FFFFFFFF
	sub	r11,FFFFFFFF

l0000A470:
	cp.w	r12,r10
	brne	0000A43A

l0000A474:
	lddsp	r12,sp[56]
	add	r1,r10
	mcall	r6[520]
	lddsp	r8,sp[44]
	moveq	r8,00000000

l0000A482:
	sub	r12,sp,FFFFFFD0
	stdsp	sp[44],r8
	mcall	r6[144]
	brne	0000A494

l0000A48E:
	rjmp	0000A3E8

l0000A490:
	mov	lr,00000000
	stdsp	sp[44],lr

l0000A494:
	cp.w	r1,00000001
	brhi	0000A4A6

l0000A49A:
	lddsp	r11,sp[40]
	cp.w	r11,00000000
	breq	0000A526

l0000A4A0:
	lddsp	r10,sp[44]
	cp.w	r10,00000000
	brne	0000A52E

l0000A4A6:
	lddsp	r9,sp[28]
	lddsp	r8,sp[16]
	add	r10,r1,r9
	add	r8,r9
	sub	r9,r8,FFFFFFFF

l0000A4B4:
	lddsp	r8,sp[40]
	cp.w	r8,00000000
	breq	0000A504

l0000A4BA:
	lddsp	lr,sp[44]
	cp.w	lr,00000000
	brne	0000A504

l0000A4C0:
	cp.w	r2,00000000
	brne	0000A5D4

l0000A4C6:
	cp.w	r3,r0
	brcc	0000A4D2

l0000A4CA:
	lddsp	r11,sp[20]
	mov	r8,0000005C
	st.b	r11[r3],r8

l0000A4D2:
	sub	r12,r3,FFFFFFFF
	cp.w	r12,r0
	brcc	0000A4E6

l0000A4DA:
	lsr	r8,r7,00000006
	lddsp	lr,sp[20]
	sub	r8,FFFFFFD0
	st.b	lr[r12],r8

l0000A4E6:
	sub	r12,FFFFFFFF
	cp.w	r12,r0
	brcc	0000A4F8

l0000A4EC:
	bfextu	r8,r7,+00000003,+00000003
	lddsp	r11,sp[20]
	sub	r8,FFFFFFD0
	st.b	r11[r12],r8

l0000A4F8:
	bfextu	r8,r7,+00000000,+00000003
	sub	r3,r12,FFFFFFFF
	sub	r7,r8,FFFFFFD0

l0000A504:
	lddsp	r8,sp[28]
	sub	r8,FFFFFFFF
	cp.w	r10,r8
	brls	0000A558

l0000A50E:
	cp.w	r3,r0
	brcc	0000A518

l0000A512:
	lddsp	lr,sp[20]
	st.b	lr[r3],r7

l0000A518:
	ld.ub	r7,r9++
	sub	r3,FFFFFFFF
	stdsp	sp[28],r8
	rjmp	0000A4B4

l0000A520:
	lddsp	r11,sp[40]
	cp.w	r11,00000000
	brne	0000A52E

l0000A526:
	cp.w	r2,00000000
	breq	0000A558

l0000A52A:
	rjmp	0000A52E

l0000A52C:
	mov	r7,00000030

l0000A52E:
	lddsp	r10,sp[0]
	cp.w	r10,00000000
	breq	0000A558

l0000A534:
	bfextu	r8,r7,+00000005,+00000008
	ld.w	r9,r10[r8<<2]
	mov	r8,00000001
	lsl	r8,r8,r7
	and	r8,r9
	breq	0000A558

l0000A546:
	cp.w	r2,00000000
	brne	0000A5D4

l0000A54A:
	cp.w	r3,r0
	brcc	0000A556

l0000A54E:
	lddsp	r9,sp[20]
	mov	r8,0000005C
	st.b	r9[r3],r8

l0000A556:
	sub	r3,FFFFFFFF

l0000A558:
	cp.w	r3,r0
	brcc	0000A562

l0000A55C:
	lddsp	r8,sp[20]
	st.b	r8[r3],r7

l0000A562:
	sub	r3,FFFFFFFF

l0000A564:
	lddsp	r7,sp[28]
	sub	r7,FFFFFFFF
	stdsp	sp[28],r7

l0000A56A:
	lddsp	lr,sp[12]
	cp.w	lr,FFFFFFFF
	brne	0000A582

l0000A570:
	lddsp	r11,sp[16]
	lddsp	r10,sp[28]
	mov	r8,00000000
	ld.ub	r9,r11[r10]
	cp.b	r9,r8
	srne	r8
	rjmp	0000A58A

l0000A582:
	lddsp	r9,sp[28]
	lddsp	r8,sp[12]
	cp.w	r9,r8
	srne	r8

l0000A58A:
	cp.w	r8,00000000
	brne	0000A040

l0000A590:
	cp.w	r3,00000000
	brne	0000A59E

l0000A594:
	lddsp	r7,sp[8]
	cp.w	r7,00000002
	brne	0000A59E

l0000A59A:
	cp.w	r2,00000000
	brne	0000A5D4

l0000A59E:
	lddsp	lr,sp[32]
	cp.w	lr,00000000
	breq	0000A5C6

l0000A5A4:
	cp.w	r2,00000000
	brne	0000A5C6

l0000A5A8:
	lddsp	r8,sp[20]
	add	r8,r3
	rjmp	0000A5BE

l0000A5AE:
	cp.w	r3,r0
	brcc	0000A5B4

l0000A5B2:
	st.b	r8[0],r9

l0000A5B4:
	lddsp	r11,sp[32]
	sub	r3,FFFFFFFF
	sub	r11,FFFFFFFF
	sub	r8,FFFFFFFF
	stdsp	sp[32],r11

l0000A5BE:
	lddsp	r10,sp[32]
	ld.ub	r9,r10[0]
	cp.w	r9,00000000
	brne	0000A5AE

l0000A5C6:
	cp.w	r3,r0
	brcc	0000A60E

l0000A5CA:
	lddsp	r9,sp[20]
	mov	r8,00000000
	st.b	r9[r3],r8
	rjmp	0000A60E

l0000A5D4:
	lddsp	r8,sp[4]
	mov	lr,00000000
	cbr	r8,+00000001
	stdsp	sp[4],r8
	lddsp	r9,sp[12]
	lddsp	r8,sp[8]
	lddsp	r10,sp[16]
	lddsp	r12,sp[20]
	st.w	--sp,lr
	lddsp	r7,sp[8]
	mov	r11,r0
	st.w	--sp,r7
	rcall	00009EEC
	sub	sp,FFFFFFF8
	mov	r3,r12
	rjmp	0000A60E

l0000A5F6:
	mov	lr,00000001
	ld.w	r11,r6[176]
	mov	r10,00000003
	mov	r3,00000000
	mov	r2,lr
	stdsp	sp[40],lr
	stdsp	sp[32],r11
	stdsp	sp[36],lr
	stdsp	sp[8],r10
	br	0000A036

l0000A60E:
	mov	r12,r3
	sub	sp,FFFFFFC4
	popm	r0-r3,r4-r7,pc

;; fn0000A614: 0000A614
;;   Called from:
;;     0000A748 (in fn0000A708)
;;     0000A7A6 (in fn0000A788)
;;     0000A7E4 (in fn0000A7C8)
;;     0000A80C (in fn0000A804)
;;     0000A832 (in fn0000A828)
fn0000A614 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000014
	lddpc	r6,pc[232]
	rsub	r6,pc
	stdsp	sp[4],r10
	mov	r3,r12
	stdsp	sp[8],r11
	mov	r1,r9
	mcall	r6[28]
	ld.w	r2,r6[212]
	ld.w	r7,r2[0]
	stdsp	sp[12],r12
	ld.w	r10,r12[0]
	stdsp	sp[16],r10
	cp.w	r3,00000000
	brge	0000A63C

l0000A638:
	mcall	r6[76]

l0000A63C:
	ld.w	r0,r6[356]
	ld.w	r8,r0[0]
	cp.w	r8,r3
	brhi	0000A69A

l0000A648:
	lddpc	r8,pc[188]
	sub	r4,r3,FFFFFFFF
	cp.w	r4,r8
	brls	0000A658

l0000A654:
	rcall	00006CAC

l0000A658:
	sub	r9,r2,FFFFFFFC
	cp.w	r7,r9
	sreq	r5
	cp.w	r5,00000000
	moveq	r12,r7

l0000A666:
	movne	r12,00000000

l0000A66A:
	lsl	r11,r4,00000003
	stdsp	sp[0],r9
	rcall	0000B904
	st.w	r2[0],r12
	mov	r7,r12
	cp.w	r5,00000000
	breq	0000A686

l0000A67C:
	lddsp	r10,sp[0]
	ld.d	r9:r8,r10[0]
	st.d	r12[0],r9:r8

l0000A686:
	ld.w	r12,r0[0]
	mov	r11,00000000
	sub	r10,r4,r12
	lsl	r10,+00000003
	add	r12,r7,r12<<3
	mcall	r6[44]
	st.w	r0[0],r4

l0000A69A:
	add	r2,r7,r3<<3
	ld.w	r5,r2[0]
	ld.w	r4,r2[4]
	ld.w	r3,r1[4]
	lddsp	r9,sp[4]
	lddsp	r10,sp[8]
	ld.w	r8,r1[0]
	sbr	r3,+00000000
	sub	r0,r1,FFFFFFF8
	mov	r11,r5
	mov	r12,r4
	st.w	--sp,r0
	st.w	--sp,r3
	rcall	00009EEC
	sub	sp,FFFFFFF8
	cp.w	r5,r12
	brhi	0000A6F4

l0000A6C4:
	ld.w	r8,r6[-36]
	sub	r7,r12,FFFFFFFF
	st.w	r2[0],r7
	sub	r8,FFFFFFD8
	cp.w	r4,r8
	breq	0000A6D8

l0000A6D2:
	mov	r12,r4
	mcall	r6[12]

l0000A6D8:
	mov	r12,r7
	rcall	00009EDC
	mov	r11,r7
	st.w	r2[4],r12
	st.w	--sp,r0
	st.w	--sp,r3
	lddsp	r9,sp[12]
	lddsp	r10,sp[16]
	ld.w	r8,r1[0]
	mov	r4,r12
	rcall	00009EEC
	sub	sp,FFFFFFF8

l0000A6F4:
	lddsp	r8,sp[16]
	lddsp	r9,sp[12]
	mov	r12,r4
	st.w	r9[0],r8
	sub	sp,FFFFFFEC
	popm	r0-r3,r4-r7,pc
0000A700 FF FF 56 2A 1F FF FF FF                         ..V*....       

;; fn0000A708: 0000A708
;;   Called from:
;;     0000A76E (in fn0000A764)
fn0000A708 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000028
	lddpc	r6,pc[68]
	rsub	r6,pc
	ld.w	r9,r6[-36]
	mov	r7,r11
	ld.d	r5:r4,r9[32]
	mov	r8,r9
	st.d	sp[32],r5:r4
	ldm	r8++,r0-r3
	stm	sp,r0-r3
	mov	r4,r12
	ldm	r8,r0-r3
	mov	r11,r10
	sub	r8,sp,FFFFFFF0
	mov	r10,00000001
	mov	r12,sp
	stm	r8,r0-r3
	rcall	00009DD8
	mov	r5,sp
	mov	r9,sp
	mov	r10,r7
	mov	r11,r4
	mov	r12,00000000
	rcall	0000A614
	sub	sp,FFFFFFD8
	popm	r0-r3,r4-r7,pc
0000A74E                                           D7 03               ..
0000A750 FF FF 57 1E D4 21 48 36 1E 26 33 AA CD 6F D8 22 ..W..!H6.&3..o."
0000A760 FF FF 57 68                                     ..Wh           

;; fn0000A764: 0000A764
;;   Called from:
;;     0000A780 (in fn0000A778)
fn0000A764 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[16]
	rsub	r6,pc
	mov	r10,r11
	mov	r11,FFFFFFFF
	rcall	0000A708
	popm	r4-r7,pc
0000A772       D7 03 FF FF 57 78                           ....Wx       

;; fn0000A778: 0000A778
;;   Called from:
;;     00003174 (in fn00003168)
;;     000035DE (in fn00003334)
;;     000051C4 (in fn0000511C)
fn0000A778 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[12]
	rsub	r6,pc
	mov	r11,0000003A
	rcall	0000A764
	popm	r4-r7,pc
0000A784             FF FF 57 8C                             ..W.       

;; fn0000A788: 0000A788
fn0000A788 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000028
	lddpc	r6,pc[32]
	rsub	r6,pc
	mov	r1,r12
	mov	r12,sp
	mov	r2,r10
	mov	r3,r9
	rcall	00009E30
	mov	r5,sp
	mov	r9,sp
	mov	r10,r3
	mov	r11,r2
	mov	r12,r1
	rcall	0000A614
	sub	sp,FFFFFFD8
	popm	r0-r3,r4-r7,pc
0000A7AC                                     FF FF 57 9E             ..W.
0000A7B0 D4 21 48 56 1E 26 14 99 16 9A 18 9B 30 0C CE 5F .!HV.&......0.._
0000A7C0 D8 22 D7 03 FF FF 57 C4                         ."....W.       

;; fn0000A7C8: 0000A7C8
;;   Called from:
;;     00006DC2 (in fn00006D9C)
;;     00009D8A (in fn00009D80)
fn0000A7C8 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000028
	lddpc	r6,pc[32]
	rsub	r6,pc
	mov	r2,r12
	mov	r12,sp
	mov	r3,r10
	rcall	00009E30
	mov	r5,sp
	mov	r9,sp
	mov	r11,r3
	mov	r12,r2
	mov	r10,FFFFFFFF
	rcall	0000A614
	sub	sp,FFFFFFD8
	popm	r0-r3,r4-r7,pc
0000A7EA                               D7 03 FF FF 57 DE           ....W.
0000A7F0 D4 21 48 46 1E 26 16 9A 18 9B 30 0C CE 6F D8 22 .!HF.&....0..o."
0000A800 FF FF 58 04                                     ..X.           

;; fn0000A804: 0000A804
fn0000A804 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[12]
	rsub	r6,pc
	ld.w	r9,r6[-36]
	rcall	0000A614
	popm	r4-r7,pc
0000A810 FF FF 58 18 D4 21 48 46 1E 26 16 9A 18 9B 30 0C ..X..!HF.&....0.
0000A820 CF 2F D8 22 FF FF 58 28                         ./."..X(       

;; fn0000A828: 0000A828
;;   Called from:
;;     0000A846 (in fn0000A83C)
fn0000A828 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[16]
	rsub	r6,pc
	ld.w	r9,r6[-36]
	mov	r10,FFFFFFFF
	rcall	0000A614
	popm	r4-r7,pc
0000A836                   D7 03 FF FF 58 3C                   ....X<   

;; fn0000A83C: 0000A83C
fn0000A83C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[16]
	rsub	r6,pc
	mov	r11,r12
	mov	r12,00000000
	rcall	0000A828
	popm	r4-r7,pc
0000A84A                               D7 03 FF FF 58 50           ....XP

;; fn0000A850: 0000A850
fn0000A850 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000010
	lddpc	r6,pc[112]
	rsub	r6,pc
	ld.w	r8,r6[-36]
	mov	r7,r10
	stdsp	sp[0],r11
	cp.w	r9,00000000
	movne	r3,r9

l0000A864:
	moveq	r3,r8

l0000A868:
	mov	r0,r12
	mcall	r6[28]
	cp.w	r7,00000000
	sreq	r5
	sub	r1,r3,FFFFFFF8
	mov	r11,00000000
	stdsp	sp[4],r12
	ld.w	r8,r3[4]
	ld.w	r9,r12[0]
	or	r5,r8
	stdsp	sp[8],r9
	st.w	--sp,r1
	st.w	--sp,r5
	lddsp	r9,sp[8]
	ld.w	r8,r3[0]
	mov	r10,r0
	mov	r12,r11
	rcall	00009EEC
	sub	r2,r12,FFFFFFFF
	mov	r4,r12
	mov	r12,r2
	rcall	00009EDC
	mov	r10,r0
	stdsp	sp[20],r12
	st.w	--sp,r1
	st.w	--sp,r5
	lddsp	r9,sp[16]
	ld.w	r8,r3[0]
	mov	r11,r2
	rcall	00009EEC
	lddsp	r8,sp[20]
	lddsp	r9,sp[24]
	st.w	r8[0],r9
	sub	sp,FFFFFFF0
	cp.w	r7,00000000
	breq	0000A8BE

l0000A8BC:
	st.w	r7[0],r4

l0000A8BE:
	lddsp	r12,sp[12]
	sub	sp,FFFFFFF0
	popm	r0-r3,r4-r7,pc
0000A8C4             FF FF 58 66 D4 21 48 46 1E 26 14 99     ..Xf.!HF.&..
0000A8D0 30 0A CB FF D8 22 D7 03 FF FF 58 DC             0...."....X.   

;; fn0000A8DC: 0000A8DC
;;   Called from:
;;     000041B2 (in fn0000418C)
;;     000041DC (in fn0000418C)
fn0000A8DC proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[64]
	rsub	r6,pc
	mov	r4,r12
	ld.w	r12,r6[-36]
	mov	r7,r11
	cp.w	r8,00000000
	movne	r5,r8

l0000A8EE:
	moveq	r5,r12

l0000A8F2:
	mov	r0,r10
	mov	r2,r9
	mcall	r6[28]
	sub	r8,r5,FFFFFFF8
	ld.w	r1,r12[0]
	st.w	--sp,r8
	ld.w	r8,r5[4]
	st.w	--sp,r8
	ld.w	r8,r5[0]
	mov	r3,r12
	mov	r9,r2
	mov	r10,r0
	mov	r11,r7
	mov	r12,r4
	rcall	00009EEC
	sub	sp,FFFFFFF8
	st.w	r3[0],r1
	popm	r0-r3,r4-r7,pc
0000A91C                                     FF FF 58 F0             ..X.

;; fn0000A920: 0000A920
fn0000A920 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[36]
	rsub	r6,pc
	mov	r5,r12
	mcall	r6[28]
	mov	r11,00000028
	ld.w	r2,r12[0]
	mov	r3,r12
	ld.w	r12,r6[-36]
	cp.w	r5,00000000
	movne	r12,r5

l0000A93A:
	rcall	0000B978
	st.w	r3[0],r2
	popm	r0-r3,r4-r7,pc
0000A942       D7 03 FF FF 59 34 00 00 00 00 00 00 00 01   ....Y4........
0000A950 00 00 00 02 00 00 00 03 00 00 00 04 00 00 00 05 ................
0000A960 00 00 00 06 00 00 00 07                         ........       

;; fn0000A968: 0000A968
;;   Called from:
;;     0000AED2 (in fn0000AE42)
;;     0000B612 (in fn0000ACB0)
fn0000A968 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[44]
	rsub	r6,pc
	mov	lr,r12
	add	r12,r11,r10
	add	r11,lr,r10
	rjmp	0000A986

l0000A97A:
	ld.w	r8,r6[-32]
	ld.ub	r9,r12[0]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r9<<1]
	st.b	r11[0],r8

l0000A986:
	sub	r10,00000001
	sub	r12,00000001
	sub	r11,00000001
	cp.w	r10,FFFFFFFF
	brne	0000A97A

l0000A990:
	mov	r12,lr
	popm	r4-r7,pc
0000A994             FF FF 59 7C                             ..Y|       

;; fn0000A998: 0000A998
;;   Called from:
;;     0000AEE6 (in fn0000AE42)
;;     0000B1C0 (in fn0000ACB0)
;;     0000B624 (in fn0000ACB0)
;;     0000B766 (in fn0000ACB0)
fn0000A998 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[48]
	rsub	r6,pc
	mov	lr,r12
	add	r12,r11,r10
	add	r11,lr,r10
	rjmp	0000A9B8

l0000A9AA:
	ld.w	r8,r6[532]
	ld.ub	r9,r12[0]
	ld.w	r8,r8[0]
	ld.sh	r8,r8[r9<<1]
	st.b	r11[0],r8

l0000A9B8:
	sub	r10,00000001
	sub	r12,00000001
	sub	r11,00000001
	cp.w	r10,FFFFFFFF
	brne	0000A9AA

l0000A9C2:
	mov	r12,lr
	popm	r4-r7,pc
0000A9C6                   D7 03 FF FF 59 AC                   ....Y.   

;; fn0000A9CC: 0000A9CC
;;   Called from:
;;     0000B424 (in fn0000ACB0)
;;     0000B45C (in fn0000ACB0)
;;     0000B492 (in fn0000ACB0)
fn0000A9CC proc
	sub	r9,r12,FFFFFE82
	sub	r9,r11
	mov	r10,00000007
	divs	r8,r9,r10
	sub	r12,FFFFFFFD
	sub	r12,r9
	ret	r12

;; fn0000A9DE: 0000A9DE
;;   Called from:
;;     0000ADCA (in fn0000ACB0)
;;     0000AE24 (in fn0000ACB0)
;;     0000B7C8 (in fn0000B7B2)
fn0000A9DE proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,00000484
	lddpc	r6,pc[300]
	rsub	r6,pc
	stdsp	sp[24],r8
	ld.w	lr,r8[8]
	sub	r8,sp,FFFFFB58
	stdsp	sp[28],r10
	lddsp	r10,sp[24]
	stdsp	sp[32],r12
	mov	r12,r11
	ld.w	r11,r8[4]
	ld.w	r8,r8[0]
	stdsp	sp[36],lr
	stdsp	sp[16],r11
	stdsp	sp[20],r8
	ld.w	r10,r10[40]
	stdsp	sp[40],r10
	cp.w	lr,0000000C
	brle	0000AA12

l0000AA0C:
	sub	lr,0000000C
	stdsp	sp[36],lr
	rjmp	0000AA1E

l0000AA12:
	lddsp	r8,sp[36]
	mov	r5,r8
	cp.w	r8,00000000
	moveq	r8,0000000C

l0000AA1C:
	stdsp	sp[36],r8

l0000AA1E:
	mov	r4,00000000
	mov	r7,r12
	stdsp	sp[48],r9
	stdsp	sp[44],r4
	br	0000B784

l0000AA2A:
	mov	r8,00000025
	cp.b	r9,r8
	brne	0000AA3E

l0000AA32:
	mov	r3,00000000
	lddsp	r2,sp[32]
	mov	r10,r3
	stdsp	sp[52],r3
	stdsp	sp[60],r2
	rjmp	0000AA5A

l0000AA3E:
	lddsp	r8,sp[28]
	lddsp	lr,sp[44]
	sub	r8,lr
	cp.w	r8,00000001
	brls	0000B79C

l0000AA4A:
	cp.w	r7,00000000
	breq	0000AA50

l0000AA4E:
	st.b	r7++,r9

l0000AA50:
	lddsp	r12,sp[44]
	sub	r12,FFFFFFFF
	br	0000AEFA

l0000AA58:
	mov	r10,00000001

l0000AA5A:
	lddsp	r11,sp[48]
	mov	r8,00000023
	sub	r11,FFFFFFFF
	stdsp	sp[48],r11
	ld.ub	r9,r11[0]
	cp.b	r9,r8
	breq	0000AA58

l0000AA6A:
	mov	r8,0000002D
	cp.b	r9,r8
	breq	0000AA92

l0000AA72:
	mov	r8,00000030
	cp.b	r9,r8
	breq	0000AA92

l0000AA7A:
	mov	r8,0000005E
	cp.b	r9,r8
	breq	0000AA8C

l0000AA82:
	mov	r8,0000005F
	cp.b	r9,r8
	brne	0000AA96

l0000AA8A:
	rjmp	0000AA92

l0000AA8C:
	mov	r9,00000001
	stdsp	sp[60],r9
	rjmp	0000AA5A

l0000AA92:
	stdsp	sp[52],r9
	rjmp	0000AA5A

l0000AA96:
	sub	r8,r9,00000030
	cp.w	r8,00000009
	brls	0000AAA6

l0000AAA0:
	mov	r8,FFFFFFFF
	stdsp	sp[56],r8
	rjmp	0000AAF8

l0000AAA6:
	mov	r5,00000000
	stdsp	sp[56],r5
	rjmp	0000AABC

l0000AAAC:
	lddpc	r8,pc[104]
	lddsp	r4,sp[56]
	cp.w	r4,r8
	brle	0000AABC

l0000AAB6:
	lddpc	r3,pc[100]
	stdsp	sp[56],r3
	rjmp	0000AAE8

l0000AABC:
	lddpc	r8,pc[88]
	lddsp	r2,sp[56]
	cp.w	r2,r8
	brne	0000AAD6

l0000AAC4:
	lddsp	lr,sp[48]
	ld.ub	r8,lr[0]
	sub	r8,00000030
	cp.w	r8,00000007
	brle	0000AAD6

l0000AAD0:
	lddpc	r12,pc[72]
	stdsp	sp[56],r12
	rjmp	0000AAE8

l0000AAD6:
	lddsp	r11,sp[56]
	lddsp	r5,sp[48]
	add	r8,r11,r11<<2
	ld.ub	r9,r5[0]
	lsl	r8,+00000001
	sub	r8,00000030
	add	r8,r9
	stdsp	sp[56],r8

l0000AAE8:
	lddsp	r4,sp[48]
	sub	r4,FFFFFFFF
	stdsp	sp[48],r4
	ld.ub	r8,r4[0]
	sub	r8,00000030
	cp.w	r8,00000009
	brls	0000AAAC

l0000AAF8:
	lddsp	r3,sp[48]
	mov	r8,00000045
	ld.ub	r9,r3[0]
	cp.b	r9,r8
	breq	0000AB1C

l0000AB04:
	mov	r8,0000004F
	cp.b	r9,r8
	breq	0000AB1C

l0000AB0C:
	mov	r4,00000000
	rjmp	0000AB24
0000AB10 FF FF 59 F6 0C CC CC CC 7F FF FF FF             ..Y.........   

l0000AB1C:
	lddsp	r2,sp[48]
	mov	r4,r9
	sub	r2,FFFFFFFF
	stdsp	sp[48],r2

l0000AB24:
	lddsp	lr,sp[48]
	ld.ub	r0,lr[0]
	stdsp	sp[64],r0
	cp.w	r0,0000007A
	brhi	0000B706

l0000AB32:
	sub	r8,pc,FFFFFFF6
	add	pc,r8,r0<<2
0000AB3A                               D7 03                       ..   

l0000AB3C:
	br	0000B700

l0000AB40:
	br	0000B706

l0000AB44:
	br	0000B706

l0000AB48:
	br	0000B706

l0000AB4C:
	br	0000B706

l0000AB50:
	br	0000B706

l0000AB54:
	br	0000B706

l0000AB58:
	br	0000B706

l0000AB5C:
	br	0000B706

l0000AB60:
	br	0000B706

l0000AB64:
	br	0000B706

l0000AB68:
	br	0000B706

l0000AB6C:
	br	0000B706

l0000AB70:
	br	0000B706

l0000AB74:
	br	0000B706

l0000AB78:
	br	0000B706

l0000AB7C:
	br	0000B706

l0000AB80:
	br	0000B706

l0000AB84:
	br	0000B706

l0000AB88:
	br	0000B706

l0000AB8C:
	br	0000B706

l0000AB90:
	br	0000B706

l0000AB94:
	br	0000B706

l0000AB98:
	br	0000B706

l0000AB9C:
	br	0000B706

l0000ABA0:
	br	0000B706

l0000ABA4:
	br	0000B706

l0000ABA8:
	br	0000B706

l0000ABAC:
	br	0000B706

l0000ABB0:
	br	0000B706

l0000ABB4:
	br	0000B706

l0000ABB8:
	br	0000B706

l0000ABBC:
	br	0000B706

l0000ABC0:
	br	0000B706

l0000ABC4:
	br	0000B706

l0000ABC8:
	br	0000B706

l0000ABCC:
	br	0000B706

l0000ABD0:
	br	0000AD44

l0000ABD4:
	br	0000B706

l0000ABD8:
	br	0000B706

l0000ABDC:
	br	0000B706

l0000ABE0:
	br	0000B706

l0000ABE4:
	br	0000B706

l0000ABE8:
	br	0000B706

l0000ABEC:
	br	0000B706

l0000ABF0:
	br	0000B706

l0000ABF4:
	br	0000B706

l0000ABF8:
	br	0000B706

l0000ABFC:
	br	0000B706

l0000AC00:
	br	0000B706

l0000AC04:
	br	0000B706

l0000AC08:
	br	0000B706

l0000AC0C:
	br	0000B706

l0000AC10:
	br	0000B706

l0000AC14:
	br	0000B706

l0000AC18:
	br	0000B706

l0000AC1C:
	br	0000B706

l0000AC20:
	br	0000B706

l0000AC24:
	br	0000AD3A

l0000AC28:
	br	0000B706

l0000AC2C:
	br	0000B706

l0000AC30:
	br	0000B706

l0000AC34:
	br	0000B706

l0000AC38:
	br	0000B706

l0000AC3C:
	br	0000B706

l0000AC40:
	br	0000ADA8

l0000AC44:
	br	0000ADA8

l0000AC48:
	br	0000AF00

l0000AC4C:
	br	0000AF34

l0000AC50:
	br	0000B706

l0000AC54:
	br	0000B1DC

l0000AC58:
	br	0000B400

l0000AC5C:
	br	0000B1EA

l0000AC60:
	br	0000B1F8

l0000AC64:
	br	0000B706

l0000AC68:
	br	0000B706

l0000AC6C:
	br	0000B706

l0000AC70:
	br	0000B238

l0000AC74:
	br	0000B260

l0000AC78:
	br	0000B706

l0000AC7C:
	br	0000B2DE

l0000AC80:
	br	0000B706

l0000AC84:
	br	0000AD2E

l0000AC88:
	br	0000B2F8

l0000AC8C:
	br	0000ADB4

l0000AC90:
	br	0000B3E0

l0000AC94:
	br	0000B400

l0000AC98:
	br	0000B510

l0000AC9C:
	br	0000B370

l0000ACA0:
	br	0000B54A

l0000ACA4:
	br	0000B59E

l0000ACA8:
	br	0000B706

l0000ACAC:
	br	0000B706

;; fn0000ACAE: 0000ACAE
fn0000ACAE proc
	ld.uh	sp,r2++

;; fn0000ACB0: 0000ACB0
;;   Called from:
;;     0000ACAE (in fn0000ACAE)
;;     0000AE7A (in fn0000AE42)
;;     0000AE98 (in fn0000AE42)
fn0000ACB0 proc
	br	0000B706

l0000ACB4:
	br	0000B706

l0000ACB8:
	br	0000B706

l0000ACBC:
	br	0000B706

l0000ACC0:
	br	0000ADA8

l0000ACC4:
	br	0000AD96

l0000ACC8:
	br	0000B370

l0000ACCC:
	br	0000AF40

l0000ACD0:
	br	0000AF4E

l0000ACD4:
	br	0000B706

l0000ACD8:
	br	0000B400

l0000ACDC:
	br	0000AD96

l0000ACE0:
	br	0000B706

l0000ACE4:
	br	0000B21E

l0000ACE8:
	br	0000B204

l0000ACEC:
	br	0000B212

l0000ACF0:
	br	0000B246

l0000ACF4:
	br	0000B290

l0000ACF8:
	br	0000B706

l0000ACFC:
	br	0000AD34

l0000AD00:
	br	0000B706

l0000AD04:
	br	0000AE3E

l0000AD08:
	br	0000B308

l0000AD0C:
	br	0000B37C

l0000AD10:
	br	0000B3CA

l0000AD14:
	br	0000B706

l0000AD18:
	br	0000B538

l0000AD1C:
	br	0000B370

l0000AD20:
	br	0000B56C

l0000AD24:
	br	0000AD28

l0000AD28:
	mov	r5,00000000
	br	0000B654

l0000AD2E:
	ld.w	r3,r6[716]
	rjmp	0000ADB8

l0000AD34:
	mov	r1,00000000
	br	0000B2E4

l0000AD3A:
	lddsp	r9,sp[48]
	mov	r5,00000001
	sub	r9,FFFFFFFF
	br	0000B63E

l0000AD44:
	cp.w	r4,00000000
	brne	0000B706

l0000AD4A:
	lddsp	r10,sp[56]
	lddsp	r12,sp[44]
	sub	r10,00000001
	max	r8,r10,r4
	sub	r4,r8,FFFFFFFF
	lddsp	r8,sp[28]
	sub	r8,r12
	cp.w	r4,r8
	brcc	0000B79C

l0000AD62:
	cp.w	r7,00000000
	breq	0000AD8C

l0000AD66:
	cp.w	r10,00000000
	brle	0000AD86

l0000AD6C:
	lddsp	r11,sp[52]
	add	r5,r7,r10
	cp.w	r11,00000030
	brne	0000AD7C

l0000AD78:
	mov	r12,r7
	rjmp	0000AD80

l0000AD7C:
	mov	r12,r7
	mov	r11,00000020

l0000AD80:
	mcall	r6[44]
	mov	r7,r5

l0000AD86:
	lddsp	r10,sp[48]
	ld.ub	r8,r10[0]
	st.b	r7++,r8

l0000AD8C:
	lddsp	r9,sp[44]
	add	r9,r4
	stdsp	sp[44],r9
	br	0000B77E

l0000AD96:
	lddsp	r8,sp[60]
	cp.w	r10,00000000
	movne	r8,00000001

l0000AD9E:
	stdsp	sp[60],r8
	cp.w	r4,00000000
	brne	0000B706

l0000ADA6:
	rjmp	0000AE3E

l0000ADA8:
	cp.w	r4,00000000
	brne	0000B706

l0000ADAE:
	cp.w	r10,00000000
	brne	0000AE34

l0000ADB2:
	rjmp	0000AE3E

l0000ADB4:
	ld.w	r3,r6[712]

l0000ADB8:
	lddsp	r8,sp[24]
	lddsp	r5,sp[16]
	lddsp	r12,sp[60]
	mov	r10,FFFFFFFF
	st.w	--sp,r5
	mov	r9,r3
	lddsp	r4,sp[24]
	mov	r11,00000000
	st.w	--sp,r4
	rcall	0000A9DE
	lddsp	r2,sp[36]
	lddsp	r10,sp[64]
	lddsp	lr,sp[52]
	sub	r10,r12
	mov	r8,00000000
	max	r8,r10,r8
	add	r1,r8,r12
	sub	r2,lr
	mov	r5,r12
	sub	sp,FFFFFFF8
	cp.w	r1,r2
	brcc	0000B79C

l0000ADEA:
	cp.w	r7,00000000
	breq	0000AE2A

l0000ADEE:
	cp.w	r10,00000000
	brle	0000AE10

l0000ADF4:
	lddsp	r12,sp[52]
	add	r4,r7,r10
	cp.w	r12,00000030
	brne	0000AE06

l0000AE00:
	lddsp	r11,sp[52]
	mov	r12,r7
	rjmp	0000AE0A

l0000AE06:
	mov	r12,r7
	mov	r11,00000020

l0000AE0A:
	mcall	r6[44]
	mov	r7,r4

l0000AE10:
	lddsp	r12,sp[60]
	lddsp	r8,sp[24]
	mov	r11,r7
	add	r7,r5
	lddsp	r5,sp[16]
	st.w	--sp,r5
	mov	r9,r3
	lddsp	r4,sp[24]
	mov	r10,r2
	st.w	--sp,r4
	rcall	0000A9DE
	sub	sp,FFFFFFF8

l0000AE2A:
	lddsp	r3,sp[44]
	add	r3,r1
	stdsp	sp[44],r3
	br	0000B77E

l0000AE34:
	mov	r3,00000000
	mov	r2,00000001
	mov	r1,r3
	stdsp	sp[60],r2
	rjmp	0000AE42

;; fn0000AE3E: 0000AE3E
;;   Called from:
;;     0000AD04 (in fn0000ACB0)
;;     0000ADA6 (in fn0000ACB0)
;;     0000ADB2 (in fn0000ACB0)
;;     0000AF0C (in fn0000ACB0)
;;     0000B374 (in fn0000ACB0)
;;     0000B54E (in fn0000ACB0)
;;     0000B570 (in fn0000ACB0)
fn0000AE3E proc
	mov	r3,00000000
	mov	r1,r3

;; fn0000AE42: 0000AE42
;;   Called from:
;;     0000AE3C (in fn0000ACB0)
;;     0000AE40 (in fn0000AE3E)
;;     0000AEFC (in fn0000AEFA)
;;     0000AF84 (in fn0000ACB0)
;;     0000B2F4 (in fn0000ACB0)
fn0000AE42 proc
	mov	r8,00000020
	st.b	sp[1096],r8
	mov	r8,00000025
	st.b	sp[1097],r8
	cp.w	r4,00000000
	brne	0000AE58

l0000AE52:
	sub	lr,sp,FFFFFBB6
	rjmp	0000AE60

l0000AE58:
	sub	lr,sp,FFFFFBB5
	st.b	sp[1098],r4

l0000AE60:
	mov	r8,00000000
	lddsp	r9,sp[24]
	st.b	lr[1],r8
	lddsp	r8,sp[64]
	sub	r10,sp,FFFFFBB8
	mov	r11,00000400
	sub	r12,sp,FFFFFFB8
	st.b	lr[0],r8
	mcall	r6[440]
	breq	0000B77E

l0000AE7E:
	lddsp	r10,sp[56]
	sub	r5,r12,00000001
	sub	r10,r5
	mov	r8,00000000
	max	r8,r10,r8
	add	r2,r8,r5
	lddsp	r4,sp[44]
	lddsp	r8,sp[28]
	sub	r8,r4
	cp.w	r2,r8
	brcc	0000B79C

l0000AE9C:
	cp.w	r7,00000000
	breq	0000AEF6

l0000AEA0:
	cp.w	r3,00000000
	brne	0000AEC6

l0000AEA4:
	cp.w	r10,00000000
	brle	0000AEC6

l0000AEAA:
	lddsp	r3,sp[52]
	add	r4,r7,r10
	cp.w	r3,00000030
	brne	0000AEBC

l0000AEB6:
	mov	r12,r7
	mov	r11,r3
	rjmp	0000AEC0

l0000AEBC:
	mov	r12,r7
	mov	r11,00000020

l0000AEC0:
	mcall	r6[44]
	mov	r7,r4

l0000AEC6:
	cp.w	r1,00000000
	breq	0000AED8

l0000AECA:
	mov	r10,r5
	sub	r11,sp,FFFFFFB7
	mov	r12,r7
	rcall	0000A968
	rjmp	0000AEF4

l0000AED8:
	lddsp	lr,sp[60]
	sub	r11,sp,FFFFFFB7
	cp.w	lr,00000000
	breq	0000AEEC

l0000AEE2:
	mov	r10,r5
	mov	r12,r7
	rcall	0000A998
	rjmp	0000AEF4

l0000AEEC:
	mov	r10,r5
	mov	r12,r7
	mcall	r6[36]

l0000AEF4:
	add	r7,r5

l0000AEF6:
	lddsp	r12,sp[44]
	add	r12,r2

;; fn0000AEFA: 0000AEFA
;;   Called from:
;;     0000AA54 (in fn0000ACB0)
;;     0000AEF8 (in fn0000AE42)
;;     0000AF76 (in fn0000AF76)
fn0000AEFA proc
	stdsp	sp[44],r12
	br	0000B77E

l0000AF00:
	cp.w	r4,0000004F
	breq	0000B706

l0000AF08:
	cp.w	r4,00000045
	breq	0000AE3E

l0000AF0E:
	lddsp	r11,sp[24]
	mov	r3,00000002
	ld.w	r8,r11[20]
	mov	r11,00000064
	divs	r10,r8,r11
	cp.w	r8,FFFFF894
	srlt	r5
	sub	r9,r10,FFFFFFED
	cp.w	r9,00000000
	srgt	r8
	and	r8,r8,r11>>31
	sub	r11,r9,r8
	br	0000B7A2

l0000AF34:
	cp.w	r4,00000000
	brne	0000B706

l0000AF3A:
	ld.w	r3,r6[708]
	rjmp	0000ADB8

l0000AF40:
	cp.w	r4,00000045
	breq	0000B706

l0000AF48:
	lddsp	r10,sp[24]
	ld.w	r12,r10[12]
	rjmp	0000AF6C

l0000AF4E:
	cp.w	r4,00000045
	breq	0000B706

l0000AF56:
	lddsp	r9,sp[24]
	ld.w	r12,r9[12]

l0000AF5A:
	lddsp	r8,sp[52]
	cp.w	r8,00000030
	breq	0000AF6C

l0000AF62:
	cp.w	r8,0000002D
	breq	0000AF6C

l0000AF68:
	mov	r5,0000005F
	stdsp	sp[52],r5

;; fn0000AF6C: 0000AF6C
;;   Called from:
;;     0000AF4C (in fn0000ACB0)
;;     0000AF60 (in fn0000ACB0)
;;     0000AF66 (in fn0000ACB0)
;;     0000AF6A (in fn0000ACB0)
;;     0000B1F6 (in fn0000ACB0)
;;     0000B202 (in fn0000ACB0)
;;     0000B244 (in fn0000ACB0)
;;     0000B28E (in fn0000ACB0)
;;     0000B304 (in fn0000ACB0)
;;     0000B3DC (in fn0000ACB0)
;;     0000B3FC (in fn0000ACB0)
;;     0000B4C8 (in fn0000ACB0)
;;     0000B4E2 (in fn0000ACB0)
;;     0000B50C (in fn0000ACB0)
;;     0000B534 (in fn0000ACB0)
;;     0000B546 (in fn0000ACB0)
;;     0000B582 (in fn0000ACB0)
;;     0000B59A (in fn0000ACB0)
fn0000AF6C proc
	mov	r3,00000002

l0000AF6E:
	mov	lr,00000000
	mov	r11,r12
	lsr	r5,r12,0000001F

;; fn0000AF76: 0000AF76
;;   Called from:
;;     0000AA26 (in fn0000A9DE)
;;     0000AF72 (in fn0000AF6C)
;;     0000B236 (in fn0000ACB0)
;;     0000B25E (in fn0000ACB0)
;;     0000B4FC (in fn0000ACB0)
fn0000AF76 proc
	mov	r12,lr

l0000AF78:
	cp.w	r4,0000004F
	brne	0000AF86

l0000AF7E:
	cp.w	r5,00000000
	brne	0000AF8A

l0000AF82:
	mov	r1,r5
	rjmp	0000AE42

l0000AF86:
	cp.w	r5,00000000
	breq	0000AF8C

l0000AF8A:
	neg	r11

l0000AF8C:
	sub	r0,sp,FFFFFB7E

l0000AF90:
	bld	lr,+00000000
	brne	0000AF9A

l0000AF96:
	mov	r8,0000003A
	st.b	--r0,r8

l0000AF9A:
	mov	r9,0000000A
	divu	r8,r11,r9
	asr	lr,+00000001
	sub	r10,r9,FFFFFFD0
	st.b	--r0,r10
	mov	r11,r8
	cp.w	r8,00000000
	brne	0000AF90

l0000AFAE:
	cp.w	lr,00000000
	brne	0000AF90

l0000AFB2:
	lddsp	r2,sp[56]
	max	r4,r2,r3
	cp.w	r5,00000000
	breq	0000AFC0

l0000AFBC:
	mov	r2,0000002D
	rjmp	0000AFCA

l0000AFC0:
	cp.w	r12,00000000
	moveq	r2,r12

l0000AFC6:
	movne	r2,0000002B

l0000AFCA:
	lddsp	lr,sp[52]
	cp.w	lr,0000002D
	brne	0000B018

l0000AFD2:
	cp.w	r2,00000000
	breq	0000B168

l0000AFD8:
	lddsp	r3,sp[56]
	mov	r8,00000000
	sub	r3,00000001
	max	r8,r3,r8
	sub	r5,r8,FFFFFFFF
	lddsp	r12,sp[44]
	lddsp	r8,sp[28]
	sub	r8,r12
	cp.w	r5,r8
	brcc	0000B79C

l0000AFF2:
	cp.w	r7,00000000
	breq	0000B00E

l0000AFF6:
	cp.w	r4,00000000
	brne	0000B00C

l0000AFFA:
	cp.w	r3,00000000
	brle	0000B00C

l0000B000:
	mov	r12,r7
	mov	r10,r3
	mov	r11,00000020
	mcall	r6[44]
	add	r7,r3

l0000B00C:
	st.b	r7++,r2

l0000B00E:
	lddsp	r11,sp[44]
	add	r11,r5
	stdsp	sp[44],r11
	rjmp	0000B168
0000B016                   D7 03                               ..       

l0000B018:
	sub	r8,sp,FFFFFB7E
	sub	r8,r0
	mov	r9,00000000
	cp.b	r2,r9
	srne	r9
	sub	r8,r4,r8
	sub	r3,r8,r9
	cp.w	r3,00000000
	brle	0000B118

l0000B034:
	lddsp	r9,sp[28]
	lddsp	r10,sp[44]
	lddsp	r8,sp[52]
	sub	r9,r10
	cp.w	r8,0000005F
	brne	0000B0AE

l0000B042:
	cp.w	r3,r9
	brcc	0000B79C

l0000B048:
	cp.w	r7,00000000
	breq	0000B058

l0000B04C:
	mov	r12,r7
	mov	r10,r3
	mov	r11,00000020
	mcall	r6[44]
	add	r7,r3

l0000B058:
	lddsp	r8,sp[56]
	lddsp	r5,sp[56]
	lddsp	lr,sp[44]
	sub	r8,r3
	cp.w	r5,r3
	movgt	r5,r8

l0000B066:
	movle	r5,00000000

l0000B06A:
	add	lr,r3
	stdsp	sp[56],r5
	stdsp	sp[44],lr
	cp.w	r2,00000000
	breq	0000B168

l0000B074:
	mov	r3,r5
	sub	r3,00000001
	mov	r8,00000000
	max	r8,r3,r8
	sub	r5,r8,FFFFFFFF
	lddsp	r8,sp[28]
	sub	r8,lr
	cp.w	r5,r8
	brcc	0000B79C

l0000B08C:
	cp.w	r7,00000000
	breq	0000B0A8

l0000B090:
	cp.w	r4,00000000
	brne	0000B0A6

l0000B094:
	cp.w	r3,00000000
	brle	0000B0A6

l0000B09A:
	mov	r12,r7
	mov	r10,r3
	mov	r11,00000020
	mcall	r6[44]
	add	r7,r3

l0000B0A6:
	st.b	r7++,r2

l0000B0A8:
	lddsp	r12,sp[44]
	add	r12,r5
	rjmp	0000B166

l0000B0AE:
	cp.w	r4,r9
	brcc	0000B79C

l0000B0B4:
	cp.w	r2,00000000
	breq	0000B0FC

l0000B0B8:
	lddsp	r10,sp[56]
	mov	r8,00000000
	sub	r10,00000001
	max	r8,r10,r8
	sub	r1,r8,FFFFFFFF
	cp.w	r1,r9
	brcc	0000B79C

l0000B0CC:
	cp.w	r7,00000000
	breq	0000B0F6

l0000B0D0:
	cp.w	r4,00000000
	brne	0000B0F4

l0000B0D4:
	cp.w	r10,00000000
	brle	0000B0F4

l0000B0DA:
	lddsp	r11,sp[52]
	add	r5,r7,r10
	cp.w	r11,00000030
	brne	0000B0EA

l0000B0E6:
	mov	r12,r7
	rjmp	0000B0EE

l0000B0EA:
	mov	r12,r7
	mov	r11,00000020

l0000B0EE:
	mcall	r6[44]
	mov	r7,r5

l0000B0F4:
	st.b	r7++,r2

l0000B0F6:
	lddsp	r10,sp[44]
	add	r10,r1
	stdsp	sp[44],r10

l0000B0FC:
	cp.w	r7,00000000
	breq	0000B10C

l0000B100:
	mov	r12,r7
	mov	r10,r3
	mov	r11,00000030
	mcall	r6[44]
	add	r7,r3

l0000B10C:
	lddsp	r9,sp[44]
	mov	r8,00000000
	add	r9,r3
	stdsp	sp[44],r9
	stdsp	sp[56],r8
	rjmp	0000B168

l0000B118:
	cp.w	r2,00000000
	breq	0000B168

l0000B11C:
	lddsp	r10,sp[56]
	mov	r8,00000000
	sub	r10,00000001
	max	r8,r10,r8
	sub	r3,r8,FFFFFFFF
	lddsp	r5,sp[44]
	lddsp	r8,sp[28]
	sub	r8,r5
	cp.w	r3,r8
	brcc	0000B79C

l0000B136:
	cp.w	r7,00000000
	breq	0000B162

l0000B13A:
	cp.w	r4,00000000
	brne	0000B160

l0000B13E:
	cp.w	r10,00000000
	brle	0000B160

l0000B144:
	lddsp	lr,sp[52]
	add	r5,r7,r10
	cp.w	lr,00000030
	brne	0000B156

l0000B150:
	mov	r12,r7
	mov	r11,lr
	rjmp	0000B15A

l0000B156:
	mov	r12,r7
	mov	r11,00000020

l0000B15A:
	mcall	r6[44]
	mov	r7,r5

l0000B160:
	st.b	r7++,r2

l0000B162:
	lddsp	r12,sp[44]
	add	r12,r3

l0000B166:
	stdsp	sp[44],r12

l0000B168:
	sub	r8,sp,FFFFFB7E
	lddsp	r10,sp[56]
	sub	r5,r8,r0
	sub	r10,r5
	mov	r8,00000000
	max	r8,r10,r8
	add	r3,r8,r5
	lddsp	r11,sp[44]
	lddsp	r8,sp[28]
	sub	r8,r11
	cp.w	r3,r8
	brcc	0000B79C

l0000B18A:
	cp.w	r7,00000000
	breq	0000B1D2

l0000B18E:
	cp.w	r4,00000000
	brne	0000B1B4

l0000B192:
	cp.w	r10,00000000
	brle	0000B1B4

l0000B198:
	lddsp	r9,sp[52]
	add	r4,r7,r10
	cp.w	r9,00000030
	brne	0000B1AA

l0000B1A4:
	mov	r12,r7
	mov	r11,r9
	rjmp	0000B1AE

l0000B1AA:
	mov	r12,r7
	mov	r11,00000020

l0000B1AE:
	mcall	r6[44]
	mov	r7,r4

l0000B1B4:
	lddsp	r8,sp[60]
	cp.w	r8,00000000
	breq	0000B1C6

l0000B1BA:
	mov	r11,r0
	mov	r10,r5
	mov	r12,r7
	rcall	0000A998
	rjmp	0000B1D0

l0000B1C6:
	mov	r11,r0
	mov	r10,r5
	mov	r12,r7
	mcall	r6[36]

l0000B1D0:
	add	r7,r5

l0000B1D2:
	lddsp	r5,sp[44]
	add	r5,r3
	stdsp	sp[44],r5
	br	0000B77E

l0000B1DC:
	cp.w	r4,00000000
	brne	0000B706

l0000B1E2:
	ld.w	r3,r6[704]
	br	0000ADB8

l0000B1EA:
	cp.w	r4,00000045
	breq	0000B706

l0000B1F2:
	lddsp	r3,sp[24]
	ld.w	r12,r3[8]
	rjmp	0000AF6C

l0000B1F8:
	cp.w	r4,00000045
	breq	0000B706

l0000B200:
	lddsp	r12,sp[36]
	rjmp	0000AF6C

l0000B204:
	cp.w	r4,00000045
	breq	0000B706

l0000B20C:
	lddsp	r2,sp[24]
	ld.w	r12,r2[8]
	rjmp	0000AF5A

l0000B212:
	cp.w	r4,00000045
	breq	0000B706

l0000B21A:
	lddsp	r12,sp[36]
	rjmp	0000AF5A

l0000B21E:
	cp.w	r4,00000045
	breq	0000B706

l0000B226:
	lddsp	lr,sp[24]
	mov	r3,00000003
	ld.w	r8,lr[28]
	mov	lr,00000000
	cp.w	r8,FFFFFFFF
	srlt	r5
	sub	r11,r8,FFFFFFFF
	rjmp	0000AF76

l0000B238:
	cp.w	r4,00000045
	breq	0000B706

l0000B240:
	lddsp	r11,sp[24]
	ld.w	r12,r11[4]
	rjmp	0000AF6C

l0000B246:
	cp.w	r4,00000045
	breq	0000B706

l0000B24E:
	lddsp	r10,sp[24]
	mov	lr,00000000
	ld.w	r8,r10[16]
	mov	r3,00000002
	cp.w	r8,FFFFFFFF
	srlt	r5
	sub	r11,r8,FFFFFFFF
	rjmp	0000AF76

l0000B260:
	cp.w	r4,00000045
	breq	0000B706

l0000B268:
	lddsp	r9,sp[56]
	cp.w	r9,FFFFFFFF
	brne	0000B276

l0000B26E:
	lddsp	r12,sp[16]
	mov	r8,00000009
	stdsp	sp[56],r8
	rjmp	0000B28C

l0000B276:
	lddsp	r10,sp[56]
	lddsp	r12,sp[16]
	rjmp	0000B286

l0000B27C:
	mov	r9,0000000A
	divs	r8,r12,r9
	sub	r10,FFFFFFFF
	mov	r12,r8

l0000B286:
	cp.w	r10,00000008
	brle	0000B27C

l0000B28C:
	lddsp	r3,sp[56]
	rjmp	0000AF6E

l0000B290:
	lddsp	r10,sp[56]
	mov	r8,00000000
	sub	r10,00000001
	max	r8,r10,r8
	sub	r4,r8,FFFFFFFF
	lddsp	r5,sp[44]
	lddsp	r8,sp[28]
	sub	r8,r5
	cp.w	r4,r8
	brcc	0000B79C

l0000B2AA:
	cp.w	r7,00000000
	breq	0000B2D4

l0000B2AE:
	cp.w	r10,00000000
	brle	0000B2D0

l0000B2B4:
	lddsp	r3,sp[52]
	add	r5,r7,r10
	cp.w	r3,00000030
	brne	0000B2C6

l0000B2C0:
	mov	r12,r7
	mov	r11,r3
	rjmp	0000B2CA

l0000B2C6:
	mov	r12,r7
	mov	r11,00000020

l0000B2CA:
	mcall	r6[44]
	mov	r7,r5

l0000B2D0:
	mov	r8,0000000A
	st.b	r7++,r8

l0000B2D4:
	lddsp	r2,sp[44]
	add	r2,r4
	stdsp	sp[44],r2
	br	0000B77E

l0000B2DE:
	mov	lr,00000070
	mov	r1,00000001
	stdsp	sp[64],lr

l0000B2E4:
	lddsp	r12,sp[60]
	cp.w	r10,00000000
	movne	r1,00000001

l0000B2EC:
	movne	r12,00000000

l0000B2F0:
	mov	r3,00000000
	stdsp	sp[60],r12
	br	0000AE42

l0000B2F8:
	cp.w	r4,00000045
	breq	0000B706

l0000B300:
	lddsp	r11,sp[24]
	ld.w	r12,r11[0]
	br	0000AF6C

l0000B308:
	lddsp	r8,sp[24]
	sub	r9,sp,FFFFFBB8
	ldm	r8++,r2-r5
	stm	sp,r2-r5
	ldm	r8,r0-r3
	sub	r8,sp,FFFFFBA8
	lddsp	r4,sp[24]
	mov	r12,r9
	ld.d	r11:r10,r4[32]
	ld.w	lr,r4[40]
	stm	r8,r0-r3
	ldm	sp,r2-r5
	sub	r0,sp,FFFFFB7E
	stm	r9,r2-r5
	st.d	sp[1128],r11:r10
	st.w	sp[1136],lr
	rcall	0000D1B8
	lsr	r5,r12,0000001F

l0000B348:
	mov	r9,0000000A
	divs	r8,r12,r9
	sub	r0,00000001
	mov	r12,r8
	cp.w	r5,00000000
	breq	0000B35C

l0000B356:
	rsub	r8,r9,00000030
	rjmp	0000B360

l0000B35C:
	sub	r8,r9,FFFFFFD0

l0000B360:
	bfextu	r9,r8,+00000000,+00000008
	st.b	r0[0],r9
	cp.w	r12,00000000
	brne	0000B348

l0000B36A:
	mov	r3,00000001
	br	0000AFB2

l0000B370:
	cp.w	r4,0000004F
	brne	0000AE3E

l0000B378:
	br	0000B706

l0000B37C:
	lddsp	r10,sp[56]
	mov	r8,00000000
	sub	r10,00000001
	max	r8,r10,r8
	sub	r4,r8,FFFFFFFF
	lddsp	r3,sp[44]
	lddsp	r8,sp[28]
	sub	r8,r3
	cp.w	r4,r8
	brcc	0000B79C

l0000B396:
	cp.w	r7,00000000
	breq	0000B3C0

l0000B39A:
	cp.w	r10,00000000
	brle	0000B3BC

l0000B3A0:
	lddsp	r2,sp[52]
	add	r5,r7,r10
	cp.w	r2,00000030
	brne	0000B3B2

l0000B3AC:
	mov	r12,r7
	mov	r11,r2
	rjmp	0000B3B6

l0000B3B2:
	mov	r12,r7
	mov	r11,00000020

l0000B3B6:
	mcall	r6[44]
	mov	r7,r5

l0000B3BC:
	mov	r8,00000009
	st.b	r7++,r8

l0000B3C0:
	lddsp	lr,sp[44]
	add	lr,r4
	stdsp	sp[44],lr
	br	0000B77E

l0000B3CA:
	lddsp	r12,sp[24]
	mov	r10,00000007
	ld.w	r9,r12[24]
	mov	r3,00000001
	sub	r9,FFFFFFFA
	divs	r8,r9,r10
	add	r12,r9,r3
	br	0000AF6E

l0000B3E0:
	cp.w	r4,00000045
	breq	0000B706

l0000B3E8:
	lddsp	r11,sp[24]
	mov	r3,00000002
	ld.w	r9,r11[28]
	ld.w	r10,r11[24]
	sub	r9,FFFFFFF9
	sub	r9,r10
	mov	r10,00000007
	divs	r8,r9,r10
	mov	r12,r8
	br	0000AF6E

l0000B400:
	cp.w	r4,00000045
	breq	0000B706

l0000B408:
	lddsp	r10,sp[24]
	mov	r8,0000012C
	ld.w	r9,r10[24]
	ld.w	r1,r10[20]
	stdsp	sp[68],r9
	ld.w	r2,r10[28]
	cp.w	r1,00000000
	movge	r8,FFFFFF9C

l0000B41C:
	mov	r11,r9
	mov	r12,r2
	add	r3,r8,r1
	rcall	0000A9CC
	mov	r5,r12
	brge	0000B466

l0000B42C:
	sub	r10,r3,00000001
	bfextu	r8,r10,+00000000,+00000002
	breq	0000B43A

l0000B436:
	mov	r8,00000000
	rjmp	0000B454

l0000B43A:
	mov	r9,00000064
	divs	r8,r10,r9
	cp.w	r9,00000000
	breq	0000B448

l0000B444:
	mov	r8,00000001
	rjmp	0000B454

l0000B448:
	mov	r9,00000190
	divs	r8,r10,r9
	cp.w	r9,00000000
	sreq	r8

l0000B454:
	sub	r12,r2,FFFFFE93
	lddsp	r11,sp[68]
	add	r12,r8
	rcall	0000A9CC
	mov	r5,r12
	mov	r12,FFFFFFFF
	rjmp	0000B4A2

l0000B466:
	bfextu	r8,r3,+00000000,+00000002
	breq	0000B470

l0000B46C:
	mov	r8,00000000
	rjmp	0000B48A

l0000B470:
	mov	r9,00000064
	divs	r8,r3,r9
	cp.w	r9,00000000
	breq	0000B47E

l0000B47A:
	mov	r8,00000001
	rjmp	0000B48A

l0000B47E:
	mov	r9,00000190
	divs	r8,r3,r9
	cp.w	r9,00000000
	sreq	r8

l0000B48A:
	sub	r12,r2,0000016D
	lddsp	r11,sp[68]
	sub	r12,r8
	rcall	0000A9CC
	movge	r5,r12

l0000B49A:
	movge	r12,00000001

l0000B49E:
	movlt	r12,00000000

l0000B4A2:
	mov	r8,00000047
	cp.b	r0,r8
	breq	0000B4E6

l0000B4AA:
	mov	r8,00000067
	cp.b	r0,r8
	brne	0000B500

l0000B4B2:
	mov	r10,00000064
	divs	r8,r1,r10
	add	r9,r12,r9
	divs	r10,r9,r10
	mov	r8,r11
	cp.w	r11,00000000
	brlt	0000B4CC

l0000B4C6:
	mov	r12,r11
	br	0000AF6C

l0000B4CC:
	mov	r10,FFFFF894
	sub	r9,r8,FFFFFF9C
	sub	r10,r12
	neg	r8
	cp.w	r1,r10
	movge	r12,r9

l0000B4DE:
	movlt	r12,r8

l0000B4E2:
	br	0000AF6C

l0000B4E6:
	mov	r8,FFFFF894
	sub	r9,r1,FFFFF894
	sub	r8,r12
	cp.w	r1,r8
	srlt	r5
	mov	lr,00000000
	add	r11,r9,r12
	mov	r3,00000004
	br	0000AF76

l0000B500:
	mov	r9,00000007
	divs	r8,r5,r9
	mov	r3,00000002
	sub	r12,r8,FFFFFFFF
	br	0000AF6E

l0000B510:
	cp.w	r4,00000045
	breq	0000B706

l0000B518:
	lddsp	r8,sp[24]
	mov	r12,00000007
	ld.w	r9,r8[24]
	lddsp	r5,sp[24]
	sub	r9,FFFFFFFA
	divs	r8,r9,r12
	ld.w	r11,r5[28]
	mov	r3,00000002
	add	r11,r12
	sub	r11,r9
	divs	r10,r11,r12
	mov	r12,r10
	br	0000AF6E

l0000B538:
	cp.w	r4,00000045
	breq	0000B706

l0000B540:
	lddsp	r3,sp[24]
	ld.w	r12,r3[24]
	mov	r3,00000001
	br	0000AF6E

l0000B54A:
	cp.w	r4,00000045
	breq	0000AE3E

l0000B552:
	cp.w	r4,0000004F
	breq	0000B706

l0000B55A:
	lddsp	r2,sp[24]
	mov	r3,00000004
	ld.w	r8,r2[20]
	cp.w	r8,FFFFF894
	srlt	r5
	sub	r11,r8,FFFFF894
	rjmp	0000B7A2

l0000B56C:
	cp.w	r4,00000045
	breq	0000AE3E

l0000B574:
	lddsp	lr,sp[24]
	mov	r9,00000064
	ld.w	r10,lr[20]
	divs	r8,r10,r9
	mov	r12,r9
	cp.w	r9,00000000
	brge	0000AF6C

l0000B586:
	sub	r9,r12,FFFFFF9C
	rsub	r8,r12,00000000
	cp.w	r10,FFFFF893
	movgt	r12,r9

l0000B596:
	movle	r12,r8

l0000B59A:
	br	0000AF6C

l0000B59E:
	ld.w	r8,r6[700]
	lddsp	r12,sp[60]
	lddsp	r11,sp[40]
	cp.w	r10,00000000
	movne	r12,00000000

l0000B5AC:
	cp.w	r11,00000000
	moveq	r11,r8

l0000B5B2:
	stdsp	sp[60],r12
	mov	r12,r11
	cp.w	r10,00000000
	moveq	r2,r10

l0000B5BC:
	movne	r2,00000001

l0000B5C0:
	stdsp	sp[40],r11
	mcall	r6[16]
	lddsp	r4,sp[44]
	lddsp	r10,sp[56]
	mov	r8,00000000
	sub	r10,r12
	max	r8,r10,r8
	add	r3,r8,r12
	lddsp	r8,sp[28]
	mov	r5,r12
	sub	r8,r4
	cp.w	r3,r8
	brcc	0000B79C

l0000B5E2:
	cp.w	r7,00000000
	breq	0000B636

l0000B5E6:
	cp.w	r10,00000000
	brle	0000B608

l0000B5EC:
	lddsp	lr,sp[52]
	add	r4,r7,r10
	cp.w	lr,00000030
	brne	0000B5FE

l0000B5F8:
	mov	r12,r7
	mov	r11,lr
	rjmp	0000B602

l0000B5FE:
	mov	r12,r7
	mov	r11,00000020

l0000B602:
	mcall	r6[44]
	mov	r7,r4

l0000B608:
	cp.w	r2,00000000
	breq	0000B618

l0000B60C:
	lddsp	r11,sp[40]
	mov	r10,r5
	mov	r12,r7
	rcall	0000A968
	rjmp	0000B634

l0000B618:
	lddsp	r12,sp[60]
	cp.w	r12,00000000
	breq	0000B62A

l0000B61E:
	lddsp	r11,sp[40]
	mov	r10,r5
	mov	r12,r7
	rcall	0000A998
	rjmp	0000B634

l0000B62A:
	lddsp	r11,sp[40]
	mov	r10,r5
	mov	r12,r7
	mcall	r6[36]

l0000B634:
	add	r7,r5

l0000B636:
	lddsp	r11,sp[44]
	add	r11,r3
	rjmp	0000B77C

l0000B63C:
	sub	r5,FFFFFFFF

l0000B63E:
	mov	r11,r9
	ld.ub	r10,r9++
	mov	r8,0000003A
	cp.b	r10,r8
	breq	0000B63C

l0000B64A:
	mov	r8,0000007A
	cp.b	r10,r8
	brne	0000B706

l0000B652:
	stdsp	sp[48],r11

l0000B654:
	lddsp	r10,sp[24]
	ld.w	r8,r10[32]
	cp.w	r8,00000000
	brlt	0000B77E

l0000B65E:
	ld.w	r12,r10[36]
	mov	r9,0000003C
	mov	r11,00000E10
	divs	r2,r12,r9
	divs	r10,r12,r11
	mov	lr,r3
	divs	r8,r2,r9
	mov	r3,r10
	cp.w	r5,00000003
	brhi	0000B706

l0000B67C:
	sub	r8,pc,FFFFFFF0
	lsr	r11,r12,0000001F
	add	pc,r8,r5<<2
0000B688                         D7 03 D7 03                     ....   

l0000B68C:
	br	0000B69C

l0000B690:
	br	0000B6B2

l0000B694:
	br	0000B6C8

l0000B698:
	br	0000B6E8

l0000B69C:
	mul	r8,r10,00000064
	bfextu	r5,r11,+00000000,+00000008
	mov	r3,00000005
	add	r11,r8,r9
	mov	r12,00000001
	mov	lr,00000000
	br	0000AF78

l0000B6B2:
	mul	r8,r3,00000064
	bfextu	r5,r11,+00000000,+00000008
	mov	r3,00000006
	add	r11,r8,r9
	mov	r12,00000001
	mov	lr,00000004
	br	0000AF78

l0000B6C8:
	mov	r8,00002710
	mul	r8,r3,r8
	bfextu	r5,r11,+00000000,+00000008
	mul	r9,r9,00000064
	mov	r3,00000009
	add	r8,lr
	add	r11,r8,r9
	mov	r12,00000001
	mov	lr,00000014
	br	0000AF78

l0000B6E8:
	cp.w	lr,00000000
	brne	0000B6C8

l0000B6EC:
	cp.w	r9,00000000
	brne	0000B6B2

l0000B6F0:
	lsr	r5,r12,0000001F
	mov	r11,r10
	mov	lr,r9
	mov	r3,00000003
	mov	r12,00000001
	br	0000AF78

l0000B700:
	lddsp	r9,sp[48]
	sub	r9,00000001
	stdsp	sp[48],r9

l0000B706:
	lddsp	r10,sp[48]
	mov	r3,00000001
	rjmp	0000B70E

l0000B70C:
	sub	r3,FFFFFFFF

l0000B70E:
	ld.ub	r9,r10[0]
	mov	r8,00000025
	mov	r5,r10
	sub	r10,00000001
	cp.b	r9,r8
	brne	0000B70C

l0000B71C:
	lddsp	r10,sp[56]
	mov	r8,00000000
	sub	r10,r3
	max	r8,r10,r8
	add	r2,r8,r3
	lddsp	r4,sp[44]
	lddsp	r8,sp[28]
	sub	r8,r4
	cp.w	r2,r8
	brcc	0000B79C

l0000B734:
	cp.w	r7,00000000
	breq	0000B778

l0000B738:
	cp.w	r10,00000000
	brle	0000B75A

l0000B73E:
	lddsp	lr,sp[52]
	add	r4,r7,r10
	cp.w	lr,00000030
	brne	0000B750

l0000B74A:
	mov	r12,r7
	mov	r11,lr
	rjmp	0000B754

l0000B750:
	mov	r12,r7
	mov	r11,00000020

l0000B754:
	mcall	r6[44]
	mov	r7,r4

l0000B75A:
	lddsp	r12,sp[60]
	cp.w	r12,00000000
	breq	0000B76C

l0000B760:
	mov	r11,r5
	mov	r10,r3
	mov	r12,r7
	rcall	0000A998
	rjmp	0000B776

l0000B76C:
	mov	r11,r5
	mov	r10,r3
	mov	r12,r7
	mcall	r6[36]

l0000B776:
	add	r7,r3

l0000B778:
	lddsp	r11,sp[44]
	add	r11,r2

l0000B77C:
	stdsp	sp[44],r11

l0000B77E:
	lddsp	r10,sp[48]
	sub	r10,FFFFFFFF
	stdsp	sp[48],r10

l0000B784:
	lddsp	r8,sp[48]
	ld.ub	r9,r8[0]
	cp.w	r9,00000000
	brne	0000AA2A

l0000B78E:
	cp.w	r7,00000000
	breq	0000B7AA

l0000B792:
	lddsp	r5,sp[28]
	cp.w	r5,00000000
	breq	0000B7AA

l0000B798:
	st.b	r7[0],r9
	rjmp	0000B7AA

l0000B79C:
	mov	r4,00000000
	stdsp	sp[44],r4
	rjmp	0000B7AA

l0000B7A2:
	mov	lr,00000000
	mov	r12,lr
	br	0000AF86

l0000B7AA:
	lddsp	r12,sp[44]
	sub	sp,FFFFFB7C
	popm	r0-r3,r4-r7,pc

;; fn0000B7B2: 0000B7B2
;;   Called from:
;;     00004F76 (in fn00004968)
;;     00004FEC (in fn00004968)
fn0000B7B2 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[28]
	rsub	r6,pc
	lddsp	lr,sp[20]
	st.w	--sp,lr
	st.w	--sp,r8
	mov	r8,r9
	mov	r9,r10
	mov	r10,r11
	mov	r11,r12
	mov	r12,00000000
	rcall	0000A9DE
	sub	sp,FFFFFFF8
	popm	r4-r7,pc
0000B7D0 FF FF 67 C6                                     ..g.           

;; fn0000B7D4: 0000B7D4
;;   Called from:
;;     00003806 (in fn00003334)
;;     0000383A (in fn00003334)
;;     00003858 (in fn00003334)
;;     000038CA (in fn00003334)
;;     0000439E (in fn00004374)
;;     00004886 (in fn00004864)
;;     00004C74 (in fn00004968)
;;     00004D1C (in fn00004968)
;;     00004E58 (in fn00004968)
;;     00004E70 (in fn00004968)
fn0000B7D4 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[64]
	rsub	r6,pc
	sub	r7,r12,FFFFFFEC
	mov	r8,00000000
	mov	r4,r10
	mov	r5,r11
	st.b	r7[0],r8

l0000B7E6:
	mov	r8,0000000A
	mov	r9,00000000
	mov	r10,r4
	mov	r11,r5
	rcall	00010A4C
	mov	r11,r5
	sub	r12,r10,FFFFFFD0
	mov	r8,0000000A
	mov	r10,r4
	mov	r9,00000000
	st.b	--r7,r12
	rcall	000107C0
	mov	r4,r10
	mov	r5,r11
	cp.w	r4,00000000
	cpc	r5
	brne	0000B7E6

l0000B80E:
	mov	r12,r7
	popm	r4-r7,pc
0000B812       D7 03 FF FF 67 E8                           ....g.       

;; fn0000B818: 0000B818
;;   Called from:
;;     00006C58 (in fn00006B5C)
fn0000B818 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,000007D4
	lddpc	r6,pc[108]
	rsub	r6,pc
	sub	lr,sp,FFFFF82C
	mov	r8,000007D0
	st.w	--lr,r8
	mov	r9,r10
	mov	r3,r12
	mov	r10,r11
	mov	r12,sp
	mov	r11,lr
	rcall	0000D220
	mov	r4,sp
	ld.w	r5,sp[2000]
	mov	r7,r12
	breq	0000B876

l0000B844:
	mov	r9,r3
	mov	r10,r5
	mov	r11,00000001
	mcall	r6[432]
	cp.w	r12,r5
	brcc	0000B86A

l0000B852:
	cp.w	r7,sp
	breq	0000B87C

l0000B856:
	mcall	r6[28]
	ld.w	r3,r12[0]
	mov	r5,r12
	mov	r12,r7
	mcall	r6[12]
	st.w	r5[0],r3
	mov	r12,FFFFFFFF
	rjmp	0000B882

l0000B86A:
	cp.w	r5,00000000
	brge	0000B880

l0000B86E:
	mcall	r6[28]
	mov	r8,0000004B
	st.w	r12[0],r8

l0000B876:
	mov	r12,r3
	rcall	0000BD82

l0000B87C:
	mov	r12,FFFFFFFF
	rjmp	0000B882

l0000B880:
	mov	r12,r5

l0000B882:
	sub	sp,FFFFF82C
	popm	r0-r3,r4-r7,pc
0000B888                         FF FF 68 30                     ..h0   

;; fn0000B88C: 0000B88C
;;   Called from:
;;     000042A0 (in fn0000418C)
;;     00006A4A (in fn00006998)
fn0000B88C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[92]
	rsub	r6,pc
	mov	r7,r12
	rcall	0000BD8C
	mov	r8,00000055
	ld.ub	r9,r12[0]
	cp.b	r9,r8
	brne	0000B8DE

l0000B8A2:
	ld.ub	r9,r12[1]
	mov	r8,00000054
	cp.b	r9,r8
	brne	0000B8DE

l0000B8AC:
	ld.ub	r9,r12[2]
	mov	r8,00000046
	cp.b	r9,r8
	brne	0000B8DE

l0000B8B6:
	ld.ub	r9,r12[3]
	mov	r8,0000002D
	cp.b	r9,r8
	brne	0000B8DE

l0000B8C0:
	ld.ub	r9,r12[-4]
	mov	r8,00000038
	cp.b	r9,r8
	brne	0000B8DE

l0000B8CA:
	ld.ub	r9,r12[-3]
	mov	r8,00000000
	cp.b	r9,r8
	brne	0000B8DE

l0000B8D4:
	mov	r11,r12
	mov	r12,r7
	rcall	0000C058
	popm	r4-r7,pc

l0000B8DE:
	mov	r12,r7
	mcall	r6[492]
	popm	r4-r7,pc
0000B8E6                   D7 03 FF FF 68 A0 D4 21 48 56       ....h..!HV
0000B8F0 1E 26 E0 A0 09 FF C0 31 FE B0 D9 DA D8 22 D7 03 .&.....1....."..
0000B900 FF FF 69 00                                     ..i.           

;; fn0000B904: 0000B904
;;   Called from:
;;     00003228 (in fn00003210)
;;     0000A670 (in fn0000A614)
fn0000B904 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[24]
	rsub	r6,pc
	mov	r7,r11
	mcall	r6[80]
	brne	0000B91A

l0000B912:
	cp.w	r7,00000000
	breq	0000B91A

l0000B916:
	rcall	00006CAC

l0000B91A:
	popm	r4-r7,pc
0000B91C                                     FF FF 69 18             ..i.
0000B920 D4 21 48 D6 1E 26 16 9A 76 09 58 0C C0 51 58 09 .!H..&..v.X..QX.
0000B930 C0 D1 34 09 C0 B8 48 98 10 39 E0 88 00 04 FE B0 ..4...H..9......
0000B940 D9 B7 F2 C8 FF FF A1 98 10 09 12 9B 95 09 CD BF ................
0000B950 D8 22 D7 03 FF FF 69 34 AA AA AA A9             ."....i4....   

;; fn0000B95C: 0000B95C
;;   Called from:
;;     0000309E (in fn00003094)
;;     000030CC (in fn000030B4)
;;     0000312E (in fn00003120)
;;     00003664 (in fn00003334)
;;     00005198 (in fn0000511C)
;;     00009A86 (in fn00009A5C)
;;     00009B86 (in fn00009B5C)
;;     00009EE2 (in fn00009EDC)
;;     0000B984 (in fn0000B978)
fn0000B95C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[24]
	rsub	r6,pc
	mov	r7,r12
	mcall	r6[32]
	brne	0000B972

l0000B96A:
	cp.w	r7,00000000
	breq	0000B972

l0000B96E:
	rcall	00006CAC

l0000B972:
	popm	r4-r7,pc
0000B974             FF FF 69 70                             ..ip       

;; fn0000B978: 0000B978
;;   Called from:
;;     0000A93A (in fn0000A920)
;;     0000B9A6 (in fn0000B994)
fn0000B978 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[24]
	rsub	r6,pc
	mov	r3,r12
	mov	r12,r11
	mov	r5,r11
	rcall	0000B95C
	mov	r10,r5
	mov	r11,r3
	mcall	r6[36]
	popm	r0-r3,r4-r7,pc
0000B990 FF FF 69 8C                                     ..i.           

;; fn0000B994: 0000B994
;;   Called from:
;;     0000313E (in fn00003120)
;;     0000314E (in fn00003120)
;;     0000355A (in fn00003334)
;;     0000364C (in fn00003334)
;;     000038DE (in fn00003334)
fn0000B994 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[24]
	rsub	r6,pc
	mov	r5,r12
	mcall	r6[16]
	sub	r11,r12,FFFFFFFF
	mov	r12,r5
	rcall	0000B978
	popm	r4-r7,pc
0000B9AA                               D7 03 FF FF 69 A8           ....i.
0000B9B0 D4 21 48 56 1E 26 18 95 CD 2F 0A 9A 30 0B F0 16 .!HV.&.../..0...
0000B9C0 00 0B D8 22 FF FF 69 C4                         ..."..i.       

;; fn0000B9C8: 0000B9C8
fn0000B9C8 proc
	pushm	r4-r7,lr
	sub	sp,00000004
	lddpc	r6,pc[116]
	rsub	r6,pc
	sub	lr,r12,00000001
	ld.w	r12,r6[192]
	mov	r7,r8
	ld.w	r5,r12[0]
	mov	r12,r10
	cp.w	lr,00000003
	brhi	0000BA3A

l0000B9E4:
	sub	r8,pc,FFFFFFF8
	add	pc,r8,lr<<2

l0000B9EC:
	br	0000BA02

l0000B9F0:
	br	0000B9FC

l0000B9F4:
	br	0000B9FC

l0000B9F8:
	br	0000BA08

l0000B9FC:
	ld.w	r10,r6[696]
	rjmp	0000BA0C

l0000BA02:
	ld.w	r10,r6[692]
	rjmp	0000BA0C

l0000BA08:
	ld.w	r10,r6[688]

l0000BA0C:
	cp.w	r11,00000000
	brge	0000BA20

l0000BA10:
	ld.w	lr,r6[352]
	mov	r8,00000000
	sub	lr,r11
	mov	r9,sp
	st.b	sp[0],r12
	st.b	sp[1],r8
	rjmp	0000BA2C

l0000BA20:
	lsl	r8,r11,00000004
	ld.w	r9,r8[r9]
	ld.w	lr,r6[352]

l0000BA2C:
	mov	r12,r5
	mov	r11,00000000
	st.w	--sp,r7
	st.w	--sp,r9
	st.w	--sp,lr
	mcall	r6[68]

l0000BA3A:
	mcall	r6[76]
	nop
	ld.ubmi	pc,pc[-34]

;; fn0000BA44: 0000BA44
;;   Called from:
;;     0000BA40 (in fn0000B9C8)
;;     0000BA76 (in fn0000BA66)
;;     0000BC2C (in fn0000BA8C)
fn0000BA44 proc
	pushm	lr
	mov	lr,FFFFFFFF
	divu	r8,lr,r11
	mov	r10,r11
	ld.w	r11,r12[0]
	cp.w	r8,r11
	brcc	0000BA5A

l0000BA54:
	mov	r9,00000001
	st.w	r12[0],lr
	rjmp	0000BA62

l0000BA5A:
	mul	r8,r10,r11
	mov	r9,00000000
	st.w	r12[0],r8

l0000BA62:
	mov	r12,r9
	popm	pc

;; fn0000BA66: 0000BA66
;;   Called from:
;;     0000BC54 (in fn0000BA8C)
fn0000BA66 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[32]
	rsub	r6,pc
	mov	r3,r12
	mov	r4,r11
	mov	r7,r10
	mov	r5,00000000
	rjmp	0000BA7A

l0000BA76:
	rcall	0000BA44
	or	r5,r12

l0000BA7A:
	sub	r7,00000001
	mov	r11,r4
	mov	r12,r3
	cp.w	r7,FFFFFFFF
	brne	0000BA76

l0000BA84:
	mov	r12,r5
	popm	r0-r3,r4-r7,pc
0000BA88                         FF FF 6A 7A                     ..jz   

;; fn0000BA8C: 0000BA8C
fn0000BA8C proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000008
	lddpc	r6,pc[260]
	rsub	r6,pc
	mov	r2,r10
	mov	r5,r12
	mov	r7,r11
	mov	r0,r9
	mov	r3,r8
	cp.w	r10,00000024
	brls	0000BAB8

l0000BAA6:
	sub	r9,pc,FFFFFE22
	ld.w	r11,r6[684]
	ld.w	r12,r6[680]
	mov	r10,00000053
	mcall	r6[60]

l0000BAB8:
	ld.w	r8,r6[156]
	ld.ub	r9,r5[0]
	ld.w	r10,r8[0]
	sub	r8,sp,FFFFFFFC
	cp.w	r7,00000000
	movne	r1,r7

l0000BACA:
	moveq	r1,r8

l0000BACE:
	mov	r8,r5
	rjmp	0000BAD4

l0000BAD2:
	ld.ub	r9,r8[0]

l0000BAD4:
	ld.uh	r7,r10[r9<<1]
	sub	r8,FFFFFFFF
	andl	r7,0020,COH
	brne	0000BAD2

l0000BAE0:
	mov	r8,0000002D
	cp.b	r9,r8
	breq	0000BC7C

l0000BAEA:
	mcall	r6[28]
	mov	r11,r1
	st.w	r12[0],r7
	mov	r4,r12
	mov	r10,r2
	mov	r12,r5
	mcall	r6[536]
	stdsp	sp[0],r12
	ld.w	r11,r1[0]
	mov	r8,r12
	cp.w	r11,r5
	brne	0000BB26

l0000BB06:
	cp.w	r3,00000000
	breq	0000BC7C

l0000BB0C:
	ld.ub	r11,r11[0]
	cp.w	r11,00000000
	breq	0000BC7C

l0000BB14:
	mov	r12,r3
	mcall	r6[120]
	breq	0000BC7C

l0000BB1E:
	mov	r8,00000001
	mov	r4,r7
	stdsp	sp[0],r8
	rjmp	0000BB40

l0000BB26:
	ld.w	r12,r4[0]
	cp.w	r12,00000000
	brne	0000BB30

l0000BB2C:
	mov	r4,r12
	rjmp	0000BB3A

l0000BB30:
	cp.w	r12,00000022
	brne	0000BC7C

l0000BB38:
	mov	r4,00000001

l0000BB3A:
	cp.w	r3,00000000
	breq	0000BC78

l0000BB40:
	ld.w	r5,r1[0]
	ld.ub	r7,r5[0]
	cp.w	r7,00000000
	breq	0000BC76

l0000BB4A:
	mov	r11,r7
	mov	r12,r3
	mcall	r6[120]
	breq	0000BC58

l0000BB56:
	mov	r12,r3
	mov	r11,00000030
	mcall	r6[120]
	breq	0000BB98

l0000BB60:
	ld.ub	r9,r5[1]
	mov	r10,00000042
	cp.b	r9,r10
	breq	0000BB7C

l0000BB6A:
	mov	r8,00000044
	cp.b	r9,r8
	breq	0000BB7C

l0000BB72:
	mov	r8,00000069
	cp.b	r9,r8
	brne	0000BB98

l0000BB7A:
	rjmp	0000BB84

l0000BB7C:
	mov	r11,000003E8
	mov	r5,00000002
	rjmp	0000BB9E

l0000BB84:
	ld.ub	r8,r5[2]
	cp.b	r8,r10
	brne	0000BB98

l0000BB8C:
	mov	r11,00000400
	mov	r5,00000003
	rjmp	0000BB9E
0000BB94             FF FF 6A A2                             ..j.       

l0000BB98:
	mov	r11,00000400
	mov	r5,00000001

l0000BB9E:
	mov	r8,00000042
	cp.b	r7,r8
	breq	0000BC26

l0000BBA6:
	mov	r8,00000045
	cp.b	r7,r8
	breq	0000BC30

l0000BBAE:
	mov	r8,00000047
	cp.b	r7,r8
	breq	0000BC34

l0000BBB6:
	mov	r8,0000004B
	cp.b	r7,r8
	breq	0000BC38

l0000BBBE:
	mov	r8,0000004D
	cp.b	r7,r8
	breq	0000BC3C

l0000BBC6:
	mov	r8,00000050
	cp.b	r7,r8
	breq	0000BC40

l0000BBCE:
	mov	r8,00000054
	cp.b	r7,r8
	breq	0000BC44

l0000BBD6:
	mov	r8,00000059
	cp.b	r7,r8
	breq	0000BC4C

l0000BBDE:
	mov	r8,0000005A
	cp.b	r7,r8
	breq	0000BC50

l0000BBE6:
	mov	r8,00000062
	cp.b	r7,r8
	breq	0000BC20

l0000BBEE:
	mov	r8,00000063
	cp.b	r7,r8
	breq	0000BC5C

l0000BBF6:
	mov	r8,00000067
	cp.b	r7,r8
	breq	0000BC34

l0000BBFE:
	mov	r8,0000006B
	cp.b	r7,r8
	breq	0000BC38

l0000BC06:
	mov	r8,0000006D
	cp.b	r7,r8
	breq	0000BC3C

l0000BC0E:
	mov	r8,00000074
	cp.b	r7,r8
	breq	0000BC44

l0000BC16:
	mov	r8,00000077
	cp.b	r7,r8
	brne	0000BC58

l0000BC1E:
	rjmp	0000BC48

l0000BC20:
	mov	r11,00000200
	rjmp	0000BC2A

l0000BC26:
	mov	r11,00000400

l0000BC2A:
	mov	r12,sp
	rcall	0000BA44
	rjmp	0000BC5E

l0000BC30:
	mov	r10,00000006
	rjmp	0000BC52

l0000BC34:
	mov	r10,00000003
	rjmp	0000BC52

l0000BC38:
	mov	r10,00000001
	rjmp	0000BC52

l0000BC3C:
	mov	r10,00000002
	rjmp	0000BC52

l0000BC40:
	mov	r10,00000005
	rjmp	0000BC52

l0000BC44:
	mov	r10,00000004
	rjmp	0000BC52

l0000BC48:
	mov	r11,00000002
	rjmp	0000BC2A

l0000BC4C:
	mov	r10,00000008
	rjmp	0000BC52

l0000BC50:
	mov	r10,00000007

l0000BC52:
	mov	r12,sp
	rcall	0000BA66
	rjmp	0000BC5E

l0000BC58:
	sbr	r4,+00000001
	rjmp	0000BC76

l0000BC5C:
	mov	r12,00000000

l0000BC5E:
	ld.w	r8,r1[0]
	or	r4,r12
	add	r8,r5
	st.w	r1[0],r8
	ld.ub	r10,r8[0]
	mov	r9,r4
	sbr	r9,+00000001
	mov	r8,00000000
	cp.b	r10,r8
	movne	r4,r9

l0000BC76:
	lddsp	r8,sp[0]

l0000BC78:
	st.w	r0[0],r8
	rjmp	0000BC7E

l0000BC7C:
	mov	r4,00000004

l0000BC7E:
	mov	r12,r4
	sub	sp,FFFFFFF8
	popm	r0-r3,r4-r7,pc
0000BC84             78 73 74 72 74 6F 75 6C 00 00 D7 03     xstrtoul....
0000BC90 E0 4C 00 7F 5F 8C 5E FC                         .L.._.^.       

;; fn0000BC98: 0000BC98
;;   Called from:
;;     000067AC (in fn00006768)
fn0000BC98 proc
	sub	r8,r12,00000030
	cp.w	r8,00000009
	brhi	0000BCA4

l0000BCA2:
	ret	pc

l0000BCA4:
	cbr	r12,+00000005
	sub	r8,r12,00000041
	cp.w	r8,00000019
	srls	r12
	ret	r12

;; fn0000BCB0: 0000BCB0
;;   Called from:
;;     0000677A (in fn00006768)
;;     000067F2 (in fn000067DC)
fn0000BCB0 proc
	cbr	r12,+00000005
	sub	r12,00000041
	cp.w	r12,00000019
	srls	r12
	ret	r12
0000BCBA                               58 9C 5F 08 E0 4C           X._..L
0000BCC0 00 20 5F 0C 10 4C 5E FC 18 98 E0 18 FF E0 5F 08 . _..L^......._.
0000BCD0 E0 4C 00 7F 5F 0C F1 EC 10 0C 5E FC             .L.._.....^.   

;; fn0000BCDC: 0000BCDC
;;   Called from:
;;     000067E4 (in fn000067DC)
;;     000068E0 (in fn00006814)
;;     000068F6 (in fn00006814)
;;     00006946 (in fn00006814)
;;     00006950 (in fn00006814)
;;     0000695A (in fn00006814)
;;     0000696A (in fn00006814)
fn0000BCDC proc
	sub	r12,00000030
	cp.w	r12,00000009
	srls	r12
	ret	r12
0000BCE4             26 1C 59 9C 5F 8C 5E FC 22 1C E0 4C     &.Y._.^."..L
0000BCF0 00 5D 5F 8C 5E FC 22 0C E0 4C 00 5E 5F 8C 5E FC .]_.^."..L.^_.^.
0000BD00 F8 C8 00 21 E0 48 00 5D E0 8B 00 0D F8 C8 00 30 ...!.H.].......0
0000BD10 58 98 E0 88 00 08 A5 DC F8 C8 00 41 59 98 5F BC X..........AY._.
0000BD20 5E FC 5E FD E0 4C 00 20 C0 E0 58 9C C0 C0 58 AC ^.^..L. ..X...X.
0000BD30 C0 A0 58 BC C0 80 58 DC 5F 09 58 CC 5F 08 F1 E9 ..X...X._.X._...
0000BD40 10 0C 5E FC 5E FF 24 1C 59 9C 5F 8C 5E FC F8 C8 ..^.^.$.Y._.^...
0000BD50 00 30 58 98 E0 8B 00 03 5E FF A5 DC F8 C8 00 41 .0X.....^......A
0000BD60 58 58 5F 8C 5E FC F8 C9 00 41 F8 C8 FF E0 59 99 XX_.^....A....Y.
0000BD70 5E BC 5E 88 F8 C9 00 61 F8 C8 00 20 59 99 5E BC ^.^....a... Y.^.
0000BD80 5E 88                                           ^.             

;; fn0000BD82: 0000BD82
;;   Called from:
;;     0000B878 (in fn0000B818)
fn0000BD82 proc
	ld.sh	r8,r12[0]
	sbr	r8,+00000003
	st.h	r12[0],r8
	ret	r12
0000BD8A                               D7 03                       ..   

;; fn0000BD8C: 0000BD8C
;;   Called from:
;;     0000B894 (in fn0000B88C)
fn0000BD8C proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000070
	lddpc	r6,pc[264]
	rsub	r6,pc
	mov	r12,0000000A
	mcall	r6[320]
	ld.w	r8,r6[348]
	ld.w	r5,r8[0]
	ld.w	r8,r6[252]
	cp.w	r12,00000000
	moveq	r12,r8

l0000BDAA:
	stdsp	sp[0],r12
	cp.w	r5,00000000
	brne	0000BF94

l0000BDB2:
	ld.w	r12,r6[676]
	mcall	r6[56]
	mov	r3,r12
	breq	0000BDC6

l0000BDBE:
	ld.ub	r9,r12[0]
	cp.b	r9,r5
	brne	0000BDCA

l0000BDC6:
	ld.w	r3,r6[672]

l0000BDCA:
	mov	r12,r3
	mcall	r6[16]
	mov	r5,r12
	brne	0000BDD8

l0000BDD4:
	mov	r7,r12
	rjmp	0000BDE8

l0000BDD8:
	add	r8,r3,r12
	ld.ub	r9,r8[-1]
	mov	r8,0000002F
	cp.b	r9,r8
	srne	r7

l0000BDE8:
	sub	r12,r5,FFFFFFF2
	add	r12,r7
	mcall	r6[32]
	mov	r0,r12
	brne	0000BDFC

l0000BDF6:
	ld.w	r5,r6[252]
	rjmp	0000BF50

l0000BDFC:
	mov	r11,r3
	mov	r10,r5
	mcall	r6[36]
	cp.w	r7,00000000
	breq	0000BE0E

l0000BE08:
	mov	r8,0000002F
	st.b	r0[r5],r8

l0000BE0E:
	ld.w	r9,r6[668]
	add	r8,r0,r5
	ld.ub	r3,r9[12]
	ld.ub	r5,r9[13]
	ld.w	r11,r6[664]
	add	r8,r7
	ld.w	r10,r9[0]
	ld.w	lr,r9[4]
	mov	r12,r0
	ld.w	r9,r9[8]
	st.w	r8[8],r9
	st.b	r8[13],r5
	st.w	r8[0],r10
	st.w	r8[4],lr
	st.b	r8[12],r3
	mcall	r6[392]
	mov	r7,r12
	breq	0000BF3C

l0000BE42:
	mov	r10,00000000
	mov	r4,r10
	stdsp	sp[4],r10

l0000BE48:
	ld.w	r9,r7[16]
	ld.w	r8,r7[24]
	cp.w	r9,r8
	brcc	0000BE56

l0000BE50:
	ld.ub	r12,r9++
	st.w	r7[16],r9
	rjmp	0000BE60

l0000BE56:
	mov	r12,r7
	mcall	r6[332]
	cp.w	r12,FFFFFFFF
	breq	0000BF32

l0000BE60:
	cp.w	r12,0000000A
	breq	0000BE48

l0000BE64:
	cp.w	r12,00000020
	breq	0000BE48

l0000BE6A:
	cp.w	r12,00000009
	breq	0000BE48

l0000BE6E:
	cp.w	r12,00000023
	brne	0000BE9C

l0000BE74:
	ld.w	r9,r7[16]
	ld.w	r8,r7[24]
	cp.w	r9,r8
	brcc	0000BE82

l0000BE7C:
	ld.ub	r12,r9++
	st.w	r7[16],r9
	rjmp	0000BE88

l0000BE82:
	mov	r12,r7
	mcall	r6[332]

l0000BE88:
	cp.w	r12,FFFFFFFF
	breq	0000BE90

l0000BE8C:
	cp.w	r12,0000000A
	brne	0000BE74

l0000BE90:
	cp.w	r12,FFFFFFFF
	brne	0000BE48

l0000BE94:
	rjmp	0000BF32
0000BE96                   D7 03 FF FF 6D A2                   ....m.   

l0000BE9C:
	mov	r11,r7
	mcall	r6[588]
	sub	r3,sp,FFFFFFF8
	sub	r5,sp,FFFFFFC4
	st.w	--sp,r3
	st.w	--sp,r5
	ld.w	r11,r6[660]
	mov	r12,r7
	mcall	r6[552]
	sub	sp,FFFFFFF8
	cp.w	r12,00000001
	brle	0000BF32

l0000BEC0:
	mov	r12,r5
	mcall	r6[16]
	mov	r1,r12
	mov	r12,r3
	mcall	r6[16]
	mov	r2,r12
	add	r8,r1,r12
	cp.w	r4,00000000
	brne	0000BEE6

l0000BED8:
	sub	r12,r8,FFFFFFFD
	sub	r4,r8,FFFFFFFE
	mcall	r6[32]
	rjmp	0000BEF4

l0000BEE6:
	sub	r8,FFFFFFFE
	add	r4,r8
	lddsp	r12,sp[4]
	sub	r11,r4,FFFFFFFF
	mcall	r6[80]

l0000BEF4:
	mov	r3,r12
	cp.w	r12,00000000
	brne	0000BF0C

l0000BEFA:
	lddsp	r9,sp[4]
	cp.w	r9,00000000
	breq	0000BF30

l0000BF00:
	mov	r12,r9
	mcall	r6[12]
	mov	r4,r3
	stdsp	sp[4],r3
	rjmp	0000BF32

l0000BF0C:
	add	r5,r12,r4
	sub	r5,r2
	sub	r12,r5,r1
	sub	r11,sp,FFFFFFC4
	sub	r12,00000002
	mcall	r6[128]
	stdsp	sp[4],r3
	sub	r12,r5,00000001
	sub	r11,sp,FFFFFFF8
	mcall	r6[128]
	rjmp	0000BE48

l0000BF30:
	lddsp	r4,sp[4]

l0000BF32:
	mov	r12,r7
	mcall	r6[296]
	cp.w	r4,00000000
	brne	0000BF42

l0000BF3C:
	ld.w	r5,r6[252]
	rjmp	0000BF4A

l0000BF42:
	lddsp	r5,sp[4]
	mov	r8,00000000
	st.b	r5[r4],r8

l0000BF4A:
	mov	r12,r0
	mcall	r6[12]

l0000BF50:
	ld.w	r8,r6[348]
	st.w	r8[0],r5
	rjmp	0000BF94

l0000BF58:
	mcall	r6[24]
	breq	0000BF72

l0000BF5E:
	mov	r8,0000002A
	mov	r12,r5
	cp.b	r7,r8
	brne	0000BF82

l0000BF68:
	ld.ub	r9,r5[1]
	mov	r8,00000000
	cp.b	r9,r8
	brne	0000BF82

l0000BF72:
	mov	r12,r5
	mcall	r6[16]
	add	r12,r5,r12
	sub	r12,FFFFFFFF
	stdsp	sp[0],r12
	rjmp	0000BF9E

l0000BF82:
	mcall	r6[16]
	add	r5,r12
	sub	r5,FFFFFFFF
	mov	r12,r5
	mcall	r6[16]
	add	r5,r12
	sub	r5,FFFFFFFF

l0000BF94:
	ld.ub	r7,r5[0]
	mov	r11,r5
	lddsp	r12,sp[0]
	cp.w	r7,00000000
	brne	0000BF58

l0000BF9E:
	lddsp	r8,sp[0]
	lddsp	r10,sp[0]
	ld.ub	r9,r8[0]
	ld.w	r12,r6[656]
	mov	r8,00000000
	cp.b	r9,r8
	movne	r12,r10

l0000BFB2:
	sub	sp,FFFFFF90
	popm	r0-r3,r4-r7,pc
0000BFB6                   D7 03                               ..       

;; fn0000BFB8: 0000BFB8
;;   Called from:
;;     0000C1C4 (in fn0000C0E4)
;;     0000C1EE (in fn0000C0E4)
;;     0000C210 (in fn0000C0E4)
;;     0000C236 (in fn0000C0E4)
;;     0000C25A (in fn0000C0E4)
;;     0000C280 (in fn0000C0E4)
;;     0000C2A6 (in fn0000C0E4)
;;     0000C2CC (in fn0000C0E4)
;;     0000C2CC (in fn0000C2C8)
fn0000BFB8 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[156]
	rsub	r6,pc
	ld.ub	r7,r12[0]
	mov	lr,r12
	sub	r12,sp,FFFFFFDC
	mov	r1,r11
	ld.w	r2,r12[20]
	ld.w	r11,r12[0]
	ld.w	r5,r12[4]
	ld.w	r4,r12[8]
	ld.w	r3,r12[12]
	ld.w	r12,r12[16]
	cp.b	r7,r10
	brne	0000C03C

l0000BFDA:
	cp.w	r7,00000000
	breq	0000C042

l0000BFDE:
	ld.ub	r10,lr[1]
	cp.b	r10,r9
	brne	0000C03C

l0000BFE6:
	cp.w	r10,00000000
	breq	0000C042

l0000BFEA:
	ld.ub	r9,lr[2]
	cp.b	r9,r8
	brne	0000C03C

l0000BFF2:
	cp.w	r9,00000000
	breq	0000C042

l0000BFF6:
	ld.ub	r8,lr[3]
	cp.b	r8,r11
	brne	0000C03C

l0000BFFE:
	cp.w	r8,00000000
	breq	0000C042

l0000C002:
	ld.ub	r8,lr[-4]
	cp.b	r8,r5
	brne	0000C03C

l0000C00A:
	cp.w	r8,00000000
	breq	0000C042

l0000C00E:
	ld.ub	r8,lr[-3]
	cp.b	r8,r4
	brne	0000C03C

l0000C016:
	cp.w	r8,00000000
	breq	0000C042

l0000C01A:
	ld.ub	r8,lr[-2]
	cp.b	r8,r3
	brne	0000C03C

l0000C022:
	cp.w	r8,00000000
	breq	0000C042

l0000C026:
	ld.ub	r8,lr[-1]
	cp.b	r8,r12
	brne	0000C03C

l0000C02E:
	cp.w	r8,00000000
	breq	0000C042

l0000C032:
	ld.ub	r8,lr[8]
	cp.b	r8,r2
	breq	0000C03E

l0000C03C:
	popm	r0-r3,r4-r7,pc,r12=0

l0000C03E:
	cp.w	r8,00000000
	brne	0000C044

l0000C042:
	popm	r0-r3,r4-r7,r12,pc,r12=1

l0000C044:
	sub	r11,r1,FFFFFFF7
	sub	r12,lr,FFFFFFF7
	mcall	r6[24]
	sreq	r12
	popm	r0-r3,r4-r7,pc
0000C054             FF FF 6F CC                             ..o.       

;; fn0000C058: 0000C058
;;   Called from:
;;     0000B8D8 (in fn0000B88C)
fn0000C058 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[116]
	rsub	r6,pc
	lsr	r8,r12,00000009
	mov	r5,r11
	cp.w	r8,000000EF
	brhi	0000C0A2

l0000C06C:
	sub	r9,pc,FFFFFD8C
	ld.sb	r8,r9[r8]
	cp.w	r8,00000000
	brlt	0000C0DC

l0000C078:
	lsl	r8,+00000006
	add	r8,r9
	bfextu	r9,r12,+00000003,+00000006
	add	r8,r9
	ld.ub	r8,r8[240]
	bfextu	r9,r12,+00000000,+00000003
	asr	r8,r8,r9
	bld	r8,+00000000
	brne	0000C0DC

l0000C094:
	sub	r8,r12,00000001
	cp.w	r8,0000009E
	brhi	0000C2D8

l0000C0A0:
	popm	r0-r3,r4-r7,pc,r12=-1

l0000C0A2:
	cp.w	r8,00000700
	brne	0000C0DC

l0000C0A8:
	cp.w	r12,000E00FF
	brls	0000C0BA

l0000C0B0:
	cp.w	r12,000E01EF
	brhi	0000C0E4

l0000C0B8:
	rjmp	0000C2D8

l0000C0BA:
	cp.w	r12,000E001F
	brls	0000C0D0

l0000C0C2:
	cp.w	r12,000E007F
	srls	r8
	rjmp	0000C0D6
0000C0CA                               D7 03 FF FF 70 6C           ....pl

l0000C0D0:
	cp.w	r12,000E0001
	sreq	r8

l0000C0D6:
	cp.w	r8,00000000
	brne	0000C2D8

l0000C0DC:
	cp.w	r12,000010FF
	brls	0000C190

;; fn0000C0E4: 0000C0E4
;;   Called from:
;;     0000C0B4 (in fn0000C058)
;;     0000C0E0 (in fn0000C058)
;;     0000C0E0 (in fn0000C058)
fn0000C0E4 proc
	cp.w	r12,0000115F
	brls	0000C2DA

l0000C0EC:
	sub	r8,r12,00002329
	cp.w	r8,00000001
	brls	0000C2DA

l0000C0F6:
	sub	r8,r12,00002E80
	cp.w	r8,0000764F
	brhi	0000C114

l0000C102:
	cp.w	r12,0000303F
	breq	0000C114

l0000C108:
	sub	r8,r12,00004DC0
	cp.w	r8,0000003F
	brhi	0000C2DA

l0000C114:
	mov	r9,FFFF5400
	add	r8,r12,r9
	cp.w	r8,00002BA3
	brls	0000C2DA

l0000C124:
	mov	r9,FFFF0700
	add	r8,r12,r9
	cp.w	r8,000001FF
	brls	0000C2DA

l0000C134:
	mov	r9,FFFF01F0
	add	r8,r12,r9
	cp.w	r8,0000000F
	brls	0000C2DA

l0000C142:
	mov	r9,FFFF01D0
	add	r8,r12,r9
	cp.w	r8,0000003F
	brls	0000C2DA

l0000C152:
	mov	r9,FFFF0100
	add	r8,r12,r9
	cp.w	r8,00000060
	brls	0000C2DA

l0000C162:
	mov	r9,FFFF0020
	add	r8,r12,r9
	cp.w	r8,00000006
	brls	0000C2DA

l0000C170:
	mov	r9,FFFE0000
	add	r8,r12,r9
	cp.w	r8,0000A6D6
	brls	0000C2DA

l0000C180:
	mov	r9,FFFD0800
	add	r8,r12,r9
	cp.w	r8,0000021D
	brls	0000C2DA

l0000C190:
	sub	r8,r12,000000A1
	cp.w	r8,0000FEBF
	brhi	0000C2DE

l0000C19C:
	cp.w	r12,000020A9
	breq	0000C2DE

l0000C1A4:
	ld.w	r11,r6[652]
	mov	lr,00000000
	mov	r3,00000050
	mov	r2,0000004A
	mov	r4,0000002D
	mov	r8,00000043
	mov	r9,00000055
	mov	r10,00000045
	mov	r12,r5
	st.w	--sp,lr
	st.w	--sp,lr
	st.w	--sp,lr
	st.w	--sp,r3
	st.w	--sp,r2
	st.w	--sp,r4
	rcall	0000BFB8
	sub	sp,FFFFFFE8
	mov	r7,r12
	cp.w	r12,00000000
	brne	0000C2DA

l0000C1D0:
	mov	lr,00000032
	st.w	--sp,r7
	mov	r8,lr
	st.w	--sp,r7
	ld.w	r11,r6[648]
	st.w	--sp,r7
	st.w	--sp,lr
	mov	lr,00000031
	st.w	--sp,lr
	mov	r9,00000042
	mov	lr,00000033
	mov	r10,00000047
	mov	r12,r5
	st.w	--sp,lr
	rcall	0000BFB8
	sub	sp,FFFFFFE8
	mov	lr,r12
	cp.w	r12,00000000
	brne	0000C2DA

l0000C1F8:
	ld.w	r11,r6[644]
	mov	r8,0000004B
	mov	r9,00000042
	mov	r10,00000047
	mov	r12,r5
	st.w	--sp,lr
	st.w	--sp,lr
	st.w	--sp,lr
	st.w	--sp,lr
	st.w	--sp,lr
	st.w	--sp,lr
	rcall	0000BFB8
	sub	sp,FFFFFFE8
	mov	lr,r12
	cp.w	r12,00000000
	brne	0000C2DA

l0000C21A:
	st.w	--sp,lr
	ld.w	r11,r6[640]
	st.w	--sp,lr
	st.w	--sp,lr
	mov	lr,00000057
	st.w	--sp,lr
	mov	r8,00000043
	mov	lr,00000054
	mov	r9,00000055
	mov	r10,00000045
	mov	r12,r5
	st.w	--sp,lr
	st.w	--sp,r4
	rcall	0000BFB8
	sub	sp,FFFFFFE8
	mov	lr,r12
	cp.w	r12,00000000
	brne	0000C2DA

l0000C240:
	ld.w	r11,r6[636]
	st.w	--sp,lr
	mov	r8,00000047
	st.w	--sp,lr
	mov	r9,00000049
	st.w	--sp,lr
	mov	r10,00000042
	st.w	--sp,lr
	mov	r12,r5
	st.w	--sp,lr
	mov	lr,00000035
	st.w	--sp,lr
	rcall	0000BFB8
	sub	sp,FFFFFFE8
	mov	lr,r12
	cp.w	r12,00000000
	brne	0000C2DA

l0000C264:
	st.w	--sp,lr
	ld.w	r11,r6[632]
	st.w	--sp,lr
	st.w	--sp,lr
	mov	lr,00000052
	st.w	--sp,lr
	mov	r8,00000043
	mov	lr,0000004B
	mov	r9,00000055
	mov	r10,00000045
	mov	r12,r5
	st.w	--sp,lr
	st.w	--sp,r4
	rcall	0000BFB8
	sub	sp,FFFFFFE8
	mov	r7,r12
	cp.w	r12,00000000
	brne	0000C2DA

l0000C28A:
	mov	lr,00000039
	ld.w	r11,r6[628]
	st.w	--sp,r7
	mov	r8,lr
	st.w	--sp,r7
	mov	r9,r3
	st.w	--sp,r7
	mov	r10,00000043
	st.w	--sp,r7
	mov	r12,r5
	st.w	--sp,lr
	mov	lr,00000034
	st.w	--sp,lr
	rcall	0000BFB8
	sub	sp,FFFFFFE8
	mov	lr,r12
	cp.w	r12,00000000
	brne	0000C2DA

l0000C2B0:
	st.w	--sp,lr
	ld.w	r11,r6[624]
	st.w	--sp,lr
	st.w	--sp,lr
	st.w	--sp,lr
	mov	lr,00000042
	st.w	--sp,lr
	mov	r10,r2
	mov	lr,00000041
	mov	r12,r5
	mov	r8,00000048

;; fn0000C2C8: 0000C2C8
fn0000C2C8 proc
	mov	r9,0000004F
	st.w	--sp,lr
	rcall	0000BFB8
	sub	sp,FFFFFFE8
	cp.w	r12,00000000
	rjmp	0000C2D4

;; fn0000C2D4: 0000C2D4
;;   Called from:
;;     0000C0E8 (in fn0000C0E4)
;;     0000C0F2 (in fn0000C0E4)
;;     0000C110 (in fn0000C0E4)
;;     0000C120 (in fn0000C0E4)
;;     0000C130 (in fn0000C0E4)
;;     0000C13E (in fn0000C0E4)
;;     0000C14E (in fn0000C0E4)
;;     0000C15E (in fn0000C0E4)
;;     0000C16C (in fn0000C0E4)
;;     0000C17C (in fn0000C0E4)
;;     0000C18C (in fn0000C0E4)
;;     0000C198 (in fn0000C0E4)
;;     0000C1A0 (in fn0000C0E4)
;;     0000C1CC (in fn0000C0E4)
;;     0000C1F6 (in fn0000C0E4)
;;     0000C218 (in fn0000C0E4)
;;     0000C23E (in fn0000C0E4)
;;     0000C262 (in fn0000C0E4)
;;     0000C288 (in fn0000C0E4)
;;     0000C2AE (in fn0000C0E4)
;;     0000C2D2 (in fn0000C2C8)
;;     0000C2D2 (in fn0000C0E4)
fn0000C2D4 proc
	brne	0000C2DA

l0000C2D6:
	rjmp	0000C2DE

l0000C2D8:
	popm	r0-r3,r4-r7,pc,r12=0

l0000C2DA:
	mov	r12,00000002
	popm	r0-r3,r4-r7,pc

l0000C2DE:
	popm	r0-r3,r4-r7,r12,pc,r12=1
0000C2E0 00 01                                           ..             

;; fn0000C2E2: 0000C2E2
fn0000C2E2 proc
	add	r3,r1
	add	r5,r2
	add	r7,r3
	add	r9,r4
	ld.sh	r10,pc[2828]
	ld.ub	pc,r6[-1]
0000C2F0 0E FF FF FF FF FF 0F FF 10 FF FF FF FF FF FF FF ................
0000C300 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
0000C310 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
0000C320 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
0000C330 FF FF FF 11 12 13 FF FF FF FF FF FF FF FF FF FF ................
0000C340 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
0000C350 FF FF FF FF FF FF FF FF FF FF FF FF FF 14 FF 15 ................
0000C360 16 FF FF FF FF 17 FF FF FF FF FF FF FF FF FF FF ................
0000C370 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
0000C380 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
0000C390 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
0000C3A0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
0000C3B0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
0000C3C0 FF FF FF FF FF FF FF FF 18 19 FF FF FF FF FF FF ................
0000C3D0 FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 80 ................
0000C3E0 FF FF FF FF 00 20 00 00 00 00 00 00 00 00 00 00 ..... ..........
0000C3F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
0000C430 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 ................
0000C440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
0000C460 F8 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000C470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000C480 00 00 FE FF FF FF FF BF B6 00 00 00 00 00 00 00 ................
0000C490 0F 00 FF 07 00 00 00 00 00 F8 FF 7F 00 00 01 00 ................
0000C4A0 00 00 00 00 00 00 00 00 00 00 C0 FF 9F 3D 00 00 .............=..
0000C4B0 00 80 02 00 00 00 FF FF FF 07 00 00 00 00 00 00 ................
0000C4C0 00 00 00 00 C0 FF 01 00 00 00 00 00 00 F8 0F 00 ................
0000C4D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
0000C4F0 06 00 00 00 00 00 00 10 FE 21 1E 00 0C 00 00 00 .........!......
0000C500 02 00 00 00 00 00 00 10 1E 20 00 00 0C 00 00 00 ......... ......
0000C510 06 00 00 00 00 00 00 10 86 39 02 00 00 00 23 00 .........9....#.
0000C520 06 00 00 00 00 00 00 10 BE 21 00 00 0C 00 00 00 .........!......
0000C530 02 00 00 00 00 00 00 90 1E 20 40 00 0C 00 00 00 ......... @.....
0000C540 04 00 00 00 00 00 00 00 01 20 00 00 00 00 00 00 ......... ......
0000C550 00 00 00 00 00 00 00 C0 C1 3D 60 00 0C 00 00 00 .........=`.....
0000C560 00 00 00 00 00 00 00 10 00 30 00 00 0C 00 00 00 .........0......
0000C570 00 00 00 00 00 00 00 00 1E 20 00 00 0C 00 00 00 ......... ......
0000C580 00 00 00 00 00 00 00 00 00 04 5C 00 00 00 00 00 ..........\.....
0000C590 00 00 00 00 00 00 F2 07 80 7F 00 00 00 00 00 00 ................
0000C5A0 00 00 00 00 00 00 F2 1B 00 3F 00 00 00 00 00 00 .........?......
0000C5B0 00 00 00 03 00 00 A0 02 00 00 00 00 00 00 FE 7F ................
0000C5C0 DF 00 FF FE FF FF FF 1F 40 00 00 00 00 00 00 00 ........@.......
0000C5D0 00 00 00 00 00 E0 FD 66 00 00 00 C3 01 00 1E 00 .......f........
0000C5E0 64 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d ..............
0000C5F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
0000C630 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 ................
0000C640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
0000C670 00 00 1C 00 00 00 1C 00 00 00                   ..........     

;; fn0000C67A: 0000C67A
;;   Called from:
;;     0000C874 (in fn0000C77E)
fn0000C67A proc
	add	r0,r6
	add	r0,r0
	add	r0,r6
	add	r0,r0
	add	r0,r0
	add	r0,r0
	st.h	r8[6],pc
	lddsp	lr,sp[60]
	ld.uh	r0,r7++
	add	r0,r0
	add	r0,r0
	cp.w	r8,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r2,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	st.w	r3[0],r1
	add	lr,r2
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	ld.sh	r1,r0[0]
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	ld.w	r0,r7++
	add	r0,r0
	add	r0,r0
	invalid
	add	r0,r2
	add	r0,r0
	st.b	--r0,r8
	ld.w	r0,r7++
	ld.w	r0,r1++
	add	r0,r0
	mov	r3,FFFFFFC0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	st.b	--r0,r0
	breq	0000C6F6
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	st.b	pc[-1],pc
	ld.w	r0,pc[-64]
	st.b	r0++,r0
	st.b	--r0,r8
	add	r0,r0
	tst	r12,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	ld.ub	r12,pc[-1]
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	st.b	pc[-1],pc
	ld.w	r0,r0++
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0

;; fn0000C77E: 0000C77E
fn0000C77E proc
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	st.b	pc[-1],pc
	add	r0,r0
	add	r0,r0
	st.b	--r0,r12
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r6,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	andnot	r0,r0
	ld.ub	r0,r3++
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	lddsp	r8,sp[256]
	add	r0,r0
	ld.w	r0,r0[0]
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r8
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	add	r0,r0
	rcall	0000C67A
	add	r0,r0
	ld.uh	pc,r0[-2]
0000C87A                               03 00 00 00 00 00           ......
0000C880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000C890 00 00 00 00 00 7E 66 00 08 10 00 00 00 00 00 00 .....~f.........
0000C8A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
0000C8F0 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 ...@............
0000C900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000C910 FF FF 00 00 7F 00 00 00 00 00 00 00 00 00 00 00 ................
0000C920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 ................
0000C930 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000C940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0E ................
0000C950 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
0000C980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 ............... 
0000C990 6E F0 00 00 00 00 00 87 00 00 00 00 00 00 00 00 n...............
0000C9A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...
0000C9F0 00 00 00 00 00 00 00 00 00 00 00 00 80 03 00 F8 ................
0000CA00 E7 0F 00 00 00 3C 00 00 00 00 00 00 00 00 00 00 .....<..........
0000CA10 00 00 00 00 00 00 00 00 1C 00 00 00 00 00 00 00 ................
0000CA20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
; ...

;; fn0000CA50: 0000CA50
fn0000CA50 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[20]
	rsub	r6,pc
	mcall	r6[580]
	brne	0000CA60

l0000CA5C:
	rcall	00006CAC

l0000CA60:
	popm	r4-r7,pc
0000CA62       D7 03 FF FF 7A 64                           ....zd       

;; fn0000CA68: 0000CA68
;;   Called from:
;;     0000CAC8 (in fn0000CAB8)
;;     0000CC88 (in fn0000CAE0)
fn0000CA68 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[76]
	rsub	r6,pc
	asr	r5,r11,0000001F
	mov	r4,r11
	mov	r8,r11
	mov	r7,r12
	mov	r9,r5
	mov	r10,FFFFFFFF
	mov	r11,FFFFFFFF
	ld.d	r3:r2,r12[0]
	rcall	000107C0
	cp.w	r10,r2
	cpc	r11,r3
	brcc	0000CA9A

l0000CA8E:
	mov	r8,FFFFFFFF
	mov	r9,FFFFFFFF
	mov	r12,00000001
	st.d	r7[0],r9:r8
	popm	r0-r3,r4-r7,pc

l0000CA9A:
	mulu.d	r8,r4,r2
	mov	r12,00000000
	mul	r10,r5,r2
	mul	r10,r3,r4
	add	r9,r10,r9
	st.d	r7[0],r9:r8
	popm	r0-r3,r4-r7,pc
0000CAB2       D7 03 FF FF 7A 7C                           ....z|       

;; fn0000CAB8: 0000CAB8
;;   Called from:
;;     0000CCB0 (in fn0000CAE0)
fn0000CAB8 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[36]
	rsub	r6,pc
	mov	r3,r12
	mov	r4,r11
	mov	r7,r10
	mov	r5,00000000
	rjmp	0000CACC

l0000CAC8:
	rcall	0000CA68
	or	r5,r12

l0000CACC:
	sub	r7,00000001
	mov	r11,r4
	mov	r12,r3
	cp.w	r7,FFFFFFFF
	brne	0000CAC8

l0000CAD6:
	mov	r12,r5
	popm	r0-r3,r4-r7,pc
0000CADA                               D7 03 FF FF 7A CC           ....z.

;; fn0000CAE0: 0000CAE0
;;   Called from:
;;     00009356 (in fn000092D8)
fn0000CAE0 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,0000000C
	lddpc	r6,pc[268]
	rsub	r6,pc
	mov	r2,r10
	mov	r5,r12
	mov	r7,r11
	mov	r0,r9
	mov	r3,r8
	cp.w	r10,00000024
	brls	0000CB0C

l0000CAFA:
	sub	r9,pc,FFFFFE16
	ld.w	r11,r6[620]
	ld.w	r12,r6[616]
	mov	r10,00000053
	mcall	r6[60]

l0000CB0C:
	ld.w	r8,r6[156]
	ld.ub	r9,r5[0]
	ld.w	r10,r8[0]
	sub	r8,sp,FFFFFFF8
	cp.w	r7,00000000
	movne	r1,r7

l0000CB1E:
	moveq	r1,r8

l0000CB22:
	mov	r8,r5
	rjmp	0000CB28

l0000CB26:
	ld.ub	r9,r8[0]

l0000CB28:
	ld.uh	r7,r10[r9<<1]
	sub	r8,FFFFFFFF
	andl	r7,0020,COH
	brne	0000CB26

l0000CB34:
	mov	r8,0000002D
	cp.b	r9,r8
	breq	0000CCDC

l0000CB3E:
	mcall	r6[28]
	mov	r10,r2
	st.w	r12[0],r7
	mov	r4,r12
	mov	r11,r1
	mov	r12,r5
	mcall	r6[540]
	st.d	sp[0],r11:r10
	ld.w	r8,r1[0]
	cp.w	r8,r5
	brne	0000CB7E

l0000CB5A:
	cp.w	r3,00000000
	breq	0000CCDC

l0000CB60:
	ld.ub	r11,r8[0]
	cp.w	r11,00000000
	breq	0000CCDC

l0000CB68:
	mov	r12,r3
	mcall	r6[120]
	breq	0000CCDC

l0000CB72:
	mov	r8,00000001
	mov	r9,00000000
	mov	r4,r7
	st.d	sp[0],r9:r8
	rjmp	0000CB9C

l0000CB7E:
	ld.w	r12,r4[0]
	cp.w	r12,00000000
	brne	0000CB88

l0000CB84:
	mov	r4,r12
	rjmp	0000CB92

l0000CB88:
	cp.w	r12,00000022
	brne	0000CCDC

l0000CB90:
	mov	r4,00000001

l0000CB92:
	cp.w	r3,00000000
	brne	0000CB9C

l0000CB96:
	st.d	r0[0],r11:r10
	rjmp	0000CCDE

l0000CB9C:
	ld.w	r5,r1[0]
	ld.ub	r7,r5[0]
	cp.w	r7,00000000
	breq	0000CCD2

l0000CBA6:
	mov	r11,r7
	mov	r12,r3
	mcall	r6[120]
	breq	0000CCB4

l0000CBB2:
	mov	r12,r3
	mov	r11,00000030
	mcall	r6[120]
	breq	0000CBF4

l0000CBBC:
	ld.ub	r9,r5[1]
	mov	r10,00000042
	cp.b	r9,r10
	breq	0000CBD8

l0000CBC6:
	mov	r8,00000044
	cp.b	r9,r8
	breq	0000CBD8

l0000CBCE:
	mov	r8,00000069
	cp.b	r9,r8
	brne	0000CBF4

l0000CBD6:
	rjmp	0000CBE0

l0000CBD8:
	mov	r11,000003E8
	mov	r5,00000002
	rjmp	0000CBFA

l0000CBE0:
	ld.ub	r8,r5[2]
	cp.b	r8,r10
	brne	0000CBF4

l0000CBE8:
	mov	r11,00000400
	mov	r5,00000003
	rjmp	0000CBFA
0000CBF0 FF FF 7A F6                                     ..z.           

l0000CBF4:
	mov	r11,00000400
	mov	r5,00000001

l0000CBFA:
	mov	r8,00000042
	cp.b	r7,r8
	breq	0000CC82

l0000CC02:
	mov	r8,00000045
	cp.b	r7,r8
	breq	0000CC8C

l0000CC0A:
	mov	r8,00000047
	cp.b	r7,r8
	breq	0000CC90

l0000CC12:
	mov	r8,0000004B
	cp.b	r7,r8
	breq	0000CC94

l0000CC1A:
	mov	r8,0000004D
	cp.b	r7,r8
	breq	0000CC98

l0000CC22:
	mov	r8,00000050
	cp.b	r7,r8
	breq	0000CC9C

l0000CC2A:
	mov	r8,00000054
	cp.b	r7,r8
	breq	0000CCA0

l0000CC32:
	mov	r8,00000059
	cp.b	r7,r8
	breq	0000CCA8

l0000CC3A:
	mov	r8,0000005A
	cp.b	r7,r8
	breq	0000CCAC

l0000CC42:
	mov	r8,00000062
	cp.b	r7,r8
	breq	0000CC7C

l0000CC4A:
	mov	r8,00000063
	cp.b	r7,r8
	breq	0000CCB8

l0000CC52:
	mov	r8,00000067
	cp.b	r7,r8
	breq	0000CC90

l0000CC5A:
	mov	r8,0000006B
	cp.b	r7,r8
	breq	0000CC94

l0000CC62:
	mov	r8,0000006D
	cp.b	r7,r8
	breq	0000CC98

l0000CC6A:
	mov	r8,00000074
	cp.b	r7,r8
	breq	0000CCA0

l0000CC72:
	mov	r8,00000077
	cp.b	r7,r8
	brne	0000CCB4

l0000CC7A:
	rjmp	0000CCA4

l0000CC7C:
	mov	r11,00000200
	rjmp	0000CC86

l0000CC82:
	mov	r11,00000400

l0000CC86:
	mov	r12,sp
	rcall	0000CA68
	rjmp	0000CCBA

l0000CC8C:
	mov	r10,00000006
	rjmp	0000CCAE

l0000CC90:
	mov	r10,00000003
	rjmp	0000CCAE

l0000CC94:
	mov	r10,00000001
	rjmp	0000CCAE

l0000CC98:
	mov	r10,00000002
	rjmp	0000CCAE

l0000CC9C:
	mov	r10,00000005
	rjmp	0000CCAE

l0000CCA0:
	mov	r10,00000004
	rjmp	0000CCAE

l0000CCA4:
	mov	r11,00000002
	rjmp	0000CC86

l0000CCA8:
	mov	r10,00000008
	rjmp	0000CCAE

l0000CCAC:
	mov	r10,00000007

l0000CCAE:
	mov	r12,sp
	rcall	0000CAB8
	rjmp	0000CCBA

l0000CCB4:
	sbr	r4,+00000001
	rjmp	0000CCD2

l0000CCB8:
	mov	r12,00000000

l0000CCBA:
	ld.w	r8,r1[0]
	or	r4,r12
	add	r8,r5
	st.w	r1[0],r8
	ld.ub	r10,r8[0]
	mov	r9,r4
	sbr	r9,+00000001
	mov	r8,00000000
	cp.b	r10,r8
	movne	r4,r9

l0000CCD2:
	ld.d	r9:r8,sp[0]
	st.d	r0[0],r9:r8
	rjmp	0000CCDE

l0000CCDC:
	mov	r4,00000004

l0000CCDE:
	mov	r12,r4
	sub	sp,FFFFFFF4
	popm	r0-r3,r4-r7,pc
0000CCE4             78 73 74 72 74 6F 75 6D 61 78 00 00     xstrtoumax..

;; fn0000CCF0: 0000CCF0
;;   Called from:
;;     00008F30 (in fn00008E88)
fn0000CCF0 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[52]
	rsub	r6,pc
	cp.w	r12,00000000
	breq	0000CD16

l0000CCFA:
	cp.w	r11,00000000
	breq	0000CD16

l0000CCFE:
	mul	r9,r11,r12
	divu	r8,r9,r11
	cp.w	r8,r12
	breq	0000CD1A

l0000CD0A:
	mcall	r6[28]
	mov	r8,0000000C
	mov	r9,00000000
	st.w	r12[0],r8
	rjmp	0000CD20

l0000CD16:
	mov	r12,00000001
	mov	r11,r12

l0000CD1A:
	mcall	r6[516]
	mov	r9,r12

l0000CD20:
	mov	r12,r9
	popm	r4-r7,pc
0000CD24             FF FF 7D 04                             ..}.       

;; fn0000CD28: 0000CD28
fn0000CD28 proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[76]
	rsub	r6,pc
	mov	r3,r12
	mcall	r6[568]
	ld.uh	r5,r3[0]
	andl	r5,0008,COH
	mov	r7,r12
	mov	r12,r3
	mcall	r6[296]
	srne	r3
	cp.w	r5,00000000
	brne	0000CD5C

l0000CD48:
	cp.w	r3,00000000
	breq	0000CD6A

l0000CD4C:
	cp.w	r7,00000000
	brne	0000CD6E

l0000CD50:
	mcall	r6[28]
	ld.w	r8,r12[0]
	cp.w	r8,00000009
	breq	0000CD6A

l0000CD5A:
	rjmp	0000CD6E

l0000CD5C:
	cp.w	r3,00000000
	brne	0000CD6E

l0000CD60:
	mcall	r6[28]
	mov	r8,FFFFFFFF
	st.w	r12[0],r3
	rjmp	0000CD70

l0000CD6A:
	mov	r8,00000000
	rjmp	0000CD70

l0000CD6E:
	mov	r8,FFFFFFFF

l0000CD70:
	mov	r12,r8
	popm	r0-r3,r4-r7,pc
0000CD74             FF FF 7D 3C                             ..}<       

;; fn0000CD78: 0000CD78
;;   Called from:
;;     0000CE36 (in fn0000CE10)
;;     0000CFB0 (in fn0000CEEE)
fn0000CD78 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000008
	lddsp	r1,sp[44]
	asr	lr,r12,00000002
	bfextu	r5,r12,+00000000,+00000002
	sreq	r5
	sub	lr,lr,FFFFFE25
	sub	lr,r5
	mov	r3,00000019
	bfextu	r5,r1,+00000000,+00000002
	sreq	r2
	divs	r4,lr,r3
	asr	r0,r1,00000002
	sub	r0,r0,FFFFFE25
	sub	r0,r2
	sub	r7,sp,FFFFFFD4
	add	lr,r11
	sub	r12,r1
	divs	r2,r0,r3
	st.d	sp[0],r5:r4
	ld.w	r11,r7[8]
	lddsp	r1,sp[0]
	sub	r10,r11
	ld.w	r11,r7[16]
	lsr	r1,+0000001F
	sub	r8,r11
	lddsp	r11,sp[4]
	ld.w	r5,r7[12]
	sub	r1,r11,r1
	mov	r11,0000016D
	ld.w	r4,r7[4]
	sub	r9,r5
	asr	r7,r1,00000002
	mul	r12,r11
	lsr	r5,r3,0000001F
	sub	r5,r2,r5
	add	lr,r12
	sub	lr,r4
	add	lr,r7
	sub	lr,r0
	asr	r11,r5,00000002
	sub	lr,r11
	sub	r1,r5
	sub	lr,r1
	add	lr,lr,lr<<1
	add	lr,r10,lr<<3
	lsl	r10,lr,00000004
	sub	r10,lr
	add	r10,r9,r10<<2
	lsl	r12,r10,00000004
	sub	r12,r10
	add	r12,r8,r12<<2
	sub	sp,FFFFFFF8
	popm	r0-r3,r4-r7,pc

;; fn0000CE10: 0000CE10
;;   Called from:
;;     0000D06E (in fn0000CEEE)
;;     0000D0C8 (in fn0000CEEE)
fn0000CE10 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[100]
	rsub	r6,pc
	sub	lr,sp,FFFFFFEC
	ld.w	r7,lr[4]
	ld.w	r5,lr[0]
	cp.w	r7,00000000
	breq	0000CE4A

l0000CE22:
	ld.w	lr,r7[0]
	st.w	--sp,lr
	ld.w	lr,r7[4]
	st.w	--sp,lr
	ld.w	lr,r7[8]
	st.w	--sp,lr
	ld.w	lr,r7[28]
	st.w	--sp,lr
	ld.w	lr,r7[20]
	st.w	--sp,lr
	rcall	0000CD78
	sub	sp,FFFFFFEC
	ld.w	r8,r5[0]
	add	lr,r8,r12
	cp.w	lr,r8
	srge	r8
	eor	r8,r8,r12>>31
	brne	0000CE6E

l0000CE4A:
	ld.w	lr,r5[0]
	cp.w	lr,00000000
	brge	0000CE60

l0000CE50:
	lddpc	r8,pc[40]
	cp.w	lr,r8
	brle	0000CE5C

l0000CE58:
	lddpc	lr,pc[36]
	rjmp	0000CE6E

l0000CE5C:
	sub	lr,FFFFFFFF
	rjmp	0000CE6E

l0000CE60:
	lddpc	r8,pc[32]
	cp.w	lr,r8
	brgt	0000CE6C

l0000CE68:
	lddpc	lr,pc[28]
	rjmp	0000CE6E

l0000CE6C:
	sub	lr,00000001

l0000CE6E:
	mov	r12,lr
	popm	r4-r7,pc
0000CE72       D7 03 FF FF 7E 24 80 00 00 01 80 00 00 00   ....~$........
0000CE80 7F FF FF FD 7F FF FF FF                         ........       

;; fn0000CE88: 0000CE88
;;   Called from:
;;     0000D05C (in fn0000CEEE)
;;     0000D0B0 (in fn0000CEEE)
;;     0000D0D8 (in fn0000CEEE)
fn0000CE88 proc
	pushm	r0-r3,r4-r7,lr
	mov	r3,r11
	mov	r1,r12
	mov	r11,r10
	mov	r12,r3
	mov	r2,r10
	icall	r1
	brne	0000CEEC

l0000CE98:
	ld.w	r7,r3[0]
	cp.w	r7,00000000
	breq	0000CEEC

l0000CE9E:
	mov	r4,r12
	rjmp	0000CEC6

l0000CEA2:
	cp.w	r7,00000000
	brge	0000CEB2

l0000CEA6:
	sub	r8,r4,r7
	asr	r8,+00000001
	add	r5,r8,r7
	rjmp	0000CEB6

l0000CEB2:
	add	r5,r9,r4

l0000CEB6:
	mov	r11,r2
	mov	r12,r3
	st.w	r3[0],r5
	icall	r1
	moveq	r7,r5

l0000CEC2:
	movne	r4,r5

l0000CEC6:
	cp.w	r7,00000000
	movge	r8,00000001

l0000CECC:
	movlt	r8,FFFFFFFF

l0000CED0:
	sub	r9,r7,r4
	add	r8,r4
	asr	r9,+00000001
	cp.w	r7,r8
	brne	0000CEA2

l0000CEDC:
	cp.w	r12,00000000
	brne	0000CEEC

l0000CEE0:
	cp.w	r4,00000000
	breq	0000CEEC

l0000CEE4:
	mov	r11,r2
	mov	r12,r3
	st.w	r3[0],r4
	icall	r1

l0000CEEC:
	popm	r0-r3,r4-r7,pc

;; fn0000CEEE: 0000CEEE
;;   Called from:
;;     0000D1C6 (in fn0000D1B8)
fn0000CEEE proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,000000B0
	lddpc	r6,pc[312]
	rsub	r6,pc
	stdsp	sp[40],r12
	ld.w	r3,r12[16]
	mov	r8,0000000C
	divs	r2,r3,r8
	ld.w	r8,r12[32]
	ld.w	r4,r12[20]
	cp.w	r8,00000000
	srne	r9
	asr	r8,+0000001F
	or	r9,r8
	stdsp	sp[36],r11
	stdsp	sp[56],r9
	stdsp	sp[32],r10
	ld.w	lr,r12[0]
	stdsp	sp[72],lr
	ld.w	r11,r12[4]
	stdsp	sp[48],r11
	ld.w	r10,r12[8]
	stdsp	sp[52],r10
	ld.w	r5,r12[12]
	mov	r12,r3
	add	r8,r4,r2
	lsr	r11,r12,0000001F
	sub	r8,r11
	stdsp	sp[60],r8
	bfextu	r8,r8,+00000000,+00000002
	breq	0000CF3A

l0000CF36:
	mov	r10,00000000
	rjmp	0000CF52

l0000CF3A:
	lddsp	r3,sp[60]
	mov	r8,00000064
	divs	r8,r3,r8
	cp.w	r9,00000000
	breq	0000CF4A

l0000CF46:
	mov	r10,00000001
	rjmp	0000CF52

l0000CF4A:
	bfextu	r8,r8,+00000000,+00000002
	cp.w	r8,00000001
	sreq	r10

l0000CF52:
	lsl	r9,r10,00000001
	add	r9,r10
	lsl	r8,r11,00000001
	add	r9,r10,r9<<2
	add	r8,r11
	add	r8,r9,r8<<2
	sub	r9,pc,FFFFFD96
	add	r8,r12
	ld.uh	r9,r9[r8<<1]
	lddsp	r2,sp[32]
	sub	r8,r5,00000001
	ld.w	r2,r2[0]
	add	r8,r9
	lddsp	lr,sp[72]
	stdsp	sp[68],r2
	stdsp	sp[64],r8
	cp.w	lr,00000000
	brge	0000CF8A

l0000CF84:
	mov	r11,00000000
	stdsp	sp[44],r11
	rjmp	0000CF94

l0000CF8A:
	lddsp	r10,sp[72]
	mov	r8,0000003B
	min	r8,r10,r8
	stdsp	sp[44],r8

l0000CF94:
	lddsp	lr,sp[68]
	lddsp	r8,sp[44]
	lddsp	r9,sp[48]
	lddsp	r10,sp[52]
	lddsp	r11,sp[64]
	lddsp	r12,sp[60]
	neg	lr
	st.w	--sp,lr
	mov	r7,00000000
	mov	lr,00000046
	st.w	--sp,r7
	st.w	--sp,r7
	st.w	--sp,r7
	st.w	--sp,lr
	rcall	0000CD78
	sub	sp,FFFFFFEC
	asr	r9,r5,0000000A
	asr	r8,r4,00000001
	add	r8,r9
	lddsp	r9,sp[52]
	sub	r8,00000023
	asr	r9,+0000000E
	add	r8,r9
	lddsp	r9,sp[48]
	mov	r3,r12
	asr	r9,+00000014
	add	r9,r8,r9
	asr	r8,r12,0000001A
	sub	r8,r9
	abs	r8
	cp.w	r8,00000015
	brle	0000CFFC

l0000CFDE:
	rsub	r10,r12,FFFFFFFF
	asr	r8,r10,0000001A
	sub	r8,r9
	abs	r8
	cp.w	r8,00000015
	brgt	0000D19C

l0000CFF0:
	lddsp	r9,sp[68]
	sub	r8,r10,r12
	add	r9,r8
	mov	r3,r10
	stdsp	sp[68],r9

l0000CFFC:
	mov	r2,r7
	mov	r4,00000006
	mov	r7,r3
	stdsp	sp[168],r3
	stdsp	sp[172],r3
	rjmp	0000D050

l0000D008:
	cp.w	r10,r7
	brne	0000D03E

l0000D00C:
	lddsp	r8,sp[168]
	cp.w	r10,r8
	breq	0000D03E

l0000D012:
	lddsp	r8,sp[152]
	cp.w	r8,00000000
	brlt	0000D0EC

l0000D018:
	lddsp	r5,sp[56]
	cp.w	r5,00000000
	brge	0000D030

l0000D01E:
	cp.w	r8,00000000
	srne	r8
	cp.w	r2,r8
	brgt	0000D03E

l0000D028:
	rjmp	0000D0EC
0000D02A                               D7 03 FF FF 7F 06           ......

l0000D030:
	lddsp	r2,sp[56]
	cp.w	r8,00000000
	srne	r9
	cp.w	r2,00000000
	srne	r8
	eor	r8,r9
	brne	0000D0EC

l0000D03E:
	cp.w	r4,00000000
	breq	0000D19C

l0000D044:
	lddsp	r8,sp[152]
	lddsp	r7,sp[168]
	cp.w	r8,00000000
	srne	r2
	stdsp	sp[172],r12
	stdsp	sp[168],r10

l0000D050:
	sub	r5,sp,FFFFFF54
	lddsp	r12,sp[36]
	sub	r10,sp,FFFFFF88
	mov	r11,r5
	rcall	0000CE88
	sub	r4,00000001
	lddsp	r8,sp[44]
	st.w	--sp,r12
	lddsp	r10,sp[56]
	lddsp	r9,sp[52]
	lddsp	r11,sp[68]
	lddsp	r12,sp[64]
	st.w	--sp,r5
	rcall	0000CE10
	sub	sp,FFFFFFF8
	lddsp	r10,sp[172]
	cp.w	r10,r12
	brne	0000D008

l0000D078:
	lddsp	r8,sp[152]
	lddsp	lr,sp[56]
	cp.w	lr,r8
	breq	0000D0EC

l0000D080:
	cp.w	lr,00000000
	brlt	0000D0EC

l0000D084:
	cp.w	r8,00000000
	brge	0000D1A0

l0000D08A:
	rjmp	0000D0EC

l0000D08C:
	lddsp	r8,sp[172]
	add	r9,r4,r8
	cp.w	r9,r8
	srge	r8
	eor	r8,r8,r5>>31
	stdsp	sp[164],r9
	sub	r5,FFFFFFFE
	cp.w	r8,00000000
	breq	0000D0DC

l0000D0A2:
	sub	r2,sp,FFFFFFB4
	sub	r1,sp,FFFFFF5C
	lddsp	r12,sp[36]
	mov	r11,r1
	mov	r10,r2
	rcall	0000CE88
	lddsp	r8,sp[108]
	lddsp	r11,sp[56]
	cp.w	r8,r11
	brne	0000D0DC

l0000D0BA:
	lddsp	r10,sp[52]
	lddsp	r11,sp[64]
	lddsp	r9,sp[48]
	lddsp	r8,sp[44]
	lddsp	r12,sp[60]
	st.w	--sp,r2
	st.w	--sp,r1
	rcall	0000CE10
	sub	sp,FFFFFFF8
	sub	r10,sp,FFFFFF88
	stdsp	sp[172],r12
	lddsp	r12,sp[36]
	sub	r11,sp,FFFFFF54
	rcall	0000CE88
	rjmp	0000D0EC

l0000D0DC:
	add	r4,r0
	cp.w	r5,00000003
	brne	0000D08C

l0000D0E2:
	lddpc	r8,pc[212]
	sub	r7,FFF6D390
	cp.w	r7,r8
	brne	0000D1A4

l0000D0EC:
	lddsp	r8,sp[172]
	lddsp	r10,sp[68]
	lddsp	r5,sp[32]
	add	r8,r10,r8
	sub	r4,r8,r3
	lddsp	r9,sp[120]
	st.w	r5[0],r4
	lddsp	r3,sp[72]
	cp.w	r3,r9
	breq	0000D152

l0000D104:
	lddsp	r2,sp[44]
	cp.w	r2,00000000
	breq	0000D10E

l0000D10A:
	mov	r1,00000000
	rjmp	0000D114

l0000D10E:
	cp.w	r9,0000003C
	sreq	r1

l0000D114:
	lddsp	r2,sp[172]
	lddsp	r11,sp[72]
	lddsp	lr,sp[44]
	add	r5,r2,r11
	sub	r1,lr
	lddsp	r10,sp[36]
	add	r3,r1,r5
	sub	r11,sp,FFFFFF88
	sub	r12,sp,FFFFFF58
	stdsp	sp[168],r3
	icall	r10
	cp.w	r5,r2
	srlt	r9
	cp.w	r3,r5
	srlt	r8
	lddsp	r5,sp[72]
	eor	r8,r8,r1>>31
	eor	r9,r9,r5>>31
	or	r8,r9
	cp.w	r12,00000000
	sreq	r9
	or	r8,r9
	brne	0000D19C

l0000D14E:
	lddsp	r8,sp[168]
	stdsp	sp[172],r8

l0000D152:
	sub	r8,sp,FFFFFF88
	ldm	r8,r2-r5
	sub	r8,sp,FFFFFF78
	stm	sp,r2-r5
	sub	lr,sp,FFFFFFF0
	ldm	r8,r2-r5
	ld.d	r11:r10,sp[152]
	stm	lr,r2-r5
	ldm	sp,r2-r5
	lddsp	lr,sp[40]
	stm	lr,r2-r5
	sub	r4,sp,FFFFFFF0
	mov	r8,lr
	ld.d	r3:r2,r4[8]
	sub	r8,FFFFFFF0
	ld.d	r5:r4,r4[0]
	lddsp	r9,sp[160]
	lddsp	r12,sp[172]
	stm	r8,r2-r5
	st.w	lr[-24],r9
	st.d	lr[32],r11:r10
	rjmp	0000D1B0

l0000D19C:
	mov	r12,FFFFFFFF
	rjmp	0000D1B0

l0000D1A0:
	mov	r7,00092C70

l0000D1A4:
	lsl	r0,r7,00000001
	rsub	r4,r7,00000000
	mov	r5,FFFFFFFF
	rjmp	0000D08C

l0000D1B0:
	sub	sp,FFFFFF50
	popm	r0-r3,r4-r7,pc
0000D1B4             10 0D C4 00                             ....       

;; fn0000D1B8: 0000D1B8
;;   Called from:
;;     0000B340 (in fn0000ACB0)
fn0000D1B8 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[20]
	rsub	r6,pc
	ld.w	r10,r6[612]
	ld.w	r11,r6[444]
	rcall	0000CEEE
	popm	r4-r7,pc
0000D1CA                               D7 03 FF FF 81 CC           ......
0000D1D0 00 00 00 1F 00 3B 00 5A 00 78 00 97 00 B5 00 D4 .....;.Z.x......
0000D1E0 00 F3 01 11 01 30 01 4E 01 6D 00 00 00 1F 00 3C .....0.N.m.....<
0000D1F0 00 5B 00 79 00 98 00 B6 00 D5 00 F4 01 12 01 31 .[.y...........1
0000D200 01 4F 01 6E                                     .O.n           

;; fn0000D204: 0000D204
;;   Called from:
;;     0000D8FA (in fn0000D220)
;;     0000DC10 (in fn0000D220)
fn0000D204 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[24]
	rsub	r6,pc
	mov	r12,00000100
	mcall	r6[320]
	ld.ub	r12,r12[0]
	cp.w	r12,00000000
	moveq	r12,0000002E

l0000D21A:
	popm	r4-r7,pc
0000D21C                                     FF FF 82 18             ....

;; fn0000D220: 0000D220
;;   Called from:
;;     0000B836 (in fn0000B818)
fn0000D220 proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,sp,00000338
	lddpc	r6,pc[360]
	rsub	r6,pc
	mov	r4,r10
	sub	r3,r7,0000000C
	st.w	r7[-804],r12
	st.w	r7[-808],r11
	mov	r10,r3
	sub	r11,r7,0000001C
	mov	r12,r4
	mov	r5,r9
	st.w	r7[-820],sp
	rcall	0000EB48
	brge	0000D258

l0000D24E:
	mov	r12,00000000
	st.w	r7[-788],r12
	br	0000E676

l0000D258:
	mov	r11,r3
	mov	r12,r5
	rcall	0000EA4C
	brge	0000D284

l0000D262:
	ld.w	r12,r7[-24]
	mcall	r6[12]
	ld.w	r12,r7[-8]
	cp.w	r12,00000000
	breq	0000D276

l0000D272:
	mcall	r6[12]

l0000D276:
	mcall	r6[28]
	mov	r11,00000000
	st.w	r7[-788],r11
	br	0000E3DE

l0000D284:
	ld.w	r8,r7[-20]
	ld.w	r9,r7[-16]
	sub	r8,FFFFFFF9
	cp.w	r8,00000006
	movls	r8,FFFFFFFF

l0000D294:
	add	r9,r8,r9
	cp.w	r9,r8
	movcs	r9,FFFFFFFF

l0000D29E:
	sub	r12,r9,FFFFFFFA
	cp.w	r12,r9
	brcs	0000E654

l0000D2A8:
	cp.w	r12,00000F9F
	brhi	0000D2C6

l0000D2B0:
	sub	r8,r9,FFFFFFF4
	andl	r8,FFFC
	sub	sp,r8
	mov	r10,00000000
	st.w	r7[-800],sp
	st.w	r7[-796],r10
	rjmp	0000D2DC

l0000D2C6:
	cp.w	r12,FFFFFFFF
	breq	0000E654

l0000D2CC:
	mcall	r6[32]
	breq	0000E654

l0000D2D4:
	st.w	r7[-796],r12
	st.w	r7[-800],r12

l0000D2DC:
	ld.w	r9,r7[-804]
	cp.w	r9,00000000
	brne	0000D2EE

l0000D2E4:
	st.w	r7[-788],r9
	st.w	r7[-736],r9
	rjmp	0000D300

l0000D2EE:
	ld.w	r8,r7[-808]
	ld.w	r12,r7[-804]
	ld.w	r8,r8[0]
	st.w	r7[-736],r8
	st.w	r7[-788],r12

l0000D300:
	ld.w	r8,r7[-24]
	mov	r11,00000000
	sub	r10,r8,FFFFFFDC
	sub	r8,FFFFFFD8
	st.w	r7[-784],r11
	st.w	r7[-740],r10
	st.w	r7[-744],r8
	st.w	r7[-792],r11

l0000D31C:
	ld.w	r9,r7[-744]
	ld.w	r10,r9[-40]
	cp.w	r4,r10
	breq	0000D3D8

l0000D328:
	ld.w	r8,r7[-784]
	sub	r2,r10,r4
	add	r1,r2,r8
	ld.w	r12,r7[-736]
	cp.w	r1,r8
	movcs	r1,FFFFFFFF

l0000D33E:
	cp.w	r1,r12
	brls	0000D3C2

l0000D344:
	cp.w	r12,00000000
	brne	0000D34C

l0000D348:
	mov	r12,0000000C
	rjmp	0000D360

l0000D34C:
	ld.w	r8,r7[-736]
	ld.w	r11,r7[-736]
	lsl	r8,+00000001
	cp.w	r11,00000000
	movge	r12,r8

l0000D35C:
	movlt	r12,FFFFFFFF

l0000D360:
	cp.w	r12,r1
	movcs	r12,r1

l0000D366:
	st.w	r7[-736],r12
	cp.w	r12,FFFFFFFF
	breq	0000E630

l0000D370:
	ld.w	r10,r7[-788]
	ld.w	r9,r7[-804]
	cp.w	r10,r9
	sreq	r3
	cp.w	r3,00000000
	brne	0000D384

l0000D380:
	cp.w	r10,00000000
	brne	0000D394

l0000D384:
	ld.w	r12,r7[-736]
	mcall	r6[32]
	rjmp	0000D3A0
0000D38E                                           D7 03               ..
0000D390 FF FF 82 3A                                     ...:           

l0000D394:
	ld.w	r11,r7[-736]
	ld.w	r12,r7[-788]
	mcall	r6[80]

l0000D3A0:
	mov	r5,r12
	cp.w	r12,00000000
	breq	0000E630

l0000D3A8:
	cp.w	r3,00000000
	breq	0000D3BE

l0000D3AC:
	ld.w	r8,r7[-784]
	cp.w	r8,00000000
	breq	0000D3BE

l0000D3B4:
	ld.w	r11,r7[-788]
	mov	r10,r8
	mcall	r6[36]

l0000D3BE:
	st.w	r7[-788],r5

l0000D3C2:
	ld.w	r11,r7[-784]
	ld.w	r12,r7[-788]
	mov	r10,r2
	add	r12,r11
	mov	r11,r4
	mcall	r6[36]
	st.w	r7[-784],r1

l0000D3D8:
	ld.w	r8,r7[-28]
	ld.w	r10,r7[-792]
	cp.w	r10,r8
	breq	0000E4CE

l0000D3E6:
	ld.w	r8,r7[-740]
	ld.w	r10,r7[-744]
	ld.ub	r9,r8[0]
	mov	r11,00000025
	ld.w	r12,r10[0]
	cp.b	r9,r11
	brne	0000D4A4

l0000D3FA:
	cp.w	r12,FFFFFFFF
	brne	0000E330

l0000D400:
	ld.w	r4,r7[-784]
	ld.w	r9,r7[-784]
	sub	r4,FFFFFFFF
	ld.w	r8,r7[-736]
	cp.w	r4,r9
	movcs	r4,FFFFFFFF

l0000D414:
	cp.w	r4,r8
	brls	0000D48E

l0000D41A:
	cp.w	r8,00000000
	brne	0000D422

l0000D41E:
	mov	r12,0000000C
	rjmp	0000D432

l0000D422:
	ld.w	r8,r7[-736]
	ld.w	r11,r7[-736]
	lsl	r8,+00000001
	cp.w	r11,00000000
	movge	r12,r8

l0000D432:
	cp.w	r12,r4
	movcs	r12,r4

l0000D438:
	st.w	r7[-736],r12
	cp.w	r12,FFFFFFFF
	breq	0000E630

l0000D442:
	ld.w	r10,r7[-788]
	ld.w	r9,r7[-804]
	cp.w	r10,r9
	sreq	r3
	cp.w	r3,00000000
	brne	0000D456

l0000D452:
	cp.w	r10,00000000
	brne	0000D460

l0000D456:
	ld.w	r12,r7[-736]
	mcall	r6[32]
	rjmp	0000D46C

l0000D460:
	ld.w	r11,r7[-736]
	ld.w	r12,r7[-788]
	mcall	r6[80]

l0000D46C:
	mov	r5,r12
	cp.w	r12,00000000
	breq	0000E630

l0000D474:
	cp.w	r3,00000000
	breq	0000D48A

l0000D478:
	ld.w	r8,r7[-784]
	cp.w	r8,00000000
	breq	0000D48A

l0000D480:
	ld.w	r11,r7[-788]
	mov	r10,r8
	mcall	r6[36]

l0000D48A:
	st.w	r7[-788],r5

l0000D48E:
	ld.w	r11,r7[-784]
	ld.w	r12,r7[-788]
	mov	r8,00000025
	st.b	r12[r11],r8
	st.w	r7[-784],r4
	br	0000E4A8

l0000D4A4:
	cp.w	r12,FFFFFFFF
	breq	0000E330

l0000D4AA:
	mov	r8,0000006E
	cp.b	r9,r8
	brne	0000D528

l0000D4B2:
	ld.w	r9,r7[-8]
	add	r8,r12,r12<<1
	add	r12,r9,r8<<2
	ld.w	r8,r12[0]
	sub	r9,r8,00000012
	cp.w	r9,00000004
	brhi	0000E330

l0000D4CA:
	sub	r8,pc,FFFFFFF6
	add	pc,r8,r9<<2
0000D4D2       D7 03                                       ..           

l0000D4D4:
	br	0000D4E8

l0000D4D8:
	br	0000D4F4

l0000D4DC:
	br	0000D500

l0000D4E0:
	br	0000D50C

l0000D4E4:
	br	0000D518

l0000D4E8:
	ld.w	r8,r12[4]
	ld.w	r10,r7[-784]
	st.b	r8[0],r10
	br	0000E4A8

l0000D4F4:
	ld.w	r8,r12[4]
	ld.w	r9,r7[-784]
	st.h	r8[0],r9
	br	0000E4A8

l0000D500:
	ld.w	r8,r12[4]
	ld.w	r12,r7[-784]
	st.w	r8[0],r12
	br	0000E4A8

l0000D50C:
	ld.w	r8,r12[4]
	ld.w	r11,r7[-784]
	st.w	r8[0],r11
	br	0000E4A8

l0000D518:
	ld.w	r9,r12[4]
	mov	r8,00000000
	st.w	r9[0],r8
	ld.w	r10,r7[-784]
	st.w	r9[4],r10
	br	0000E4A8

l0000D528:
	mov	r8,00000061
	cp.b	r9,r8
	breq	0000D53A

l0000D530:
	mov	r8,00000041
	cp.b	r9,r8
	brne	0000DE30

l0000D53A:
	ld.w	r9,r7[-744]
	ld.w	lr,r7[-8]
	add	r8,r12,r12<<1
	ld.w	r5,lr[r8<<2]
	ld.w	r10,r9[-28]
	ld.w	r4,r9[-24]
	ld.w	r8,r9[-32]
	st.w	r7[-780],r8
	cp.w	r10,r4
	brne	0000D56A

l0000D55E:
	mov	r12,00000000
	st.w	r7[-772],r12
	st.w	r7[-776],r12
	rjmp	0000D5F0

l0000D56A:
	ld.w	r11,r7[-744]
	ld.w	r8,r11[-20]
	cp.w	r8,FFFFFFFF
	breq	0000D5B0

l0000D576:
	add	r8,r8,r8<<1
	add	r9,lr,r8<<2
	ld.w	r8,r9[0]
	cp.w	r8,00000005
	brne	0000E330

l0000D586:
	ld.w	r8,r9[4]
	cp.w	r8,00000000
	brge	0000D5A4

l0000D58C:
	ld.w	r10,r7[-780]
	neg	r8
	sbr	r10,+00000001
	mov	r9,00000001
	st.w	r7[-780],r10
	st.w	r7[-772],r8
	st.w	r7[-776],r9
	rjmp	0000D5F0

l0000D5A4:
	st.w	r7[-772],r8
	mov	r8,00000001
	st.w	r7[-776],r8
	rjmp	0000D5F0

l0000D5B0:
	mov	r12,00000000
	st.w	r7[-772],r12

l0000D5B6:
	lddpc	r8,pc[132]
	ld.w	r9,r7[-772]
	ld.ub	r11,r10++
	cp.w	r9,r8
	brls	0000D5C8

l0000D5C4:
	mov	r9,FFFFFFFF
	rjmp	0000D5D4

l0000D5C8:
	ld.w	r12,r7[-772]
	add	r8,r12,r12<<2
	lsl	r9,r8,00000001

l0000D5D4:
	sub	r8,r11,00000030
	add	r8,r9,r8
	cp.w	r8,r9
	movcs	r8,FFFFFFFF

l0000D5E2:
	st.w	r7[-772],r8
	cp.w	r10,r4
	brne	0000D5B6

l0000D5EA:
	mov	r11,00000001
	st.w	r7[-776],r11

l0000D5F0:
	ld.w	r10,r7[-744]
	ld.w	r9,r10[-16]
	ld.w	r12,r10[-12]
	cp.w	r9,r12
	breq	0000D666

l0000D600:
	ld.w	r8,r10[-8]
	cp.w	r8,FFFFFFFF
	breq	0000D622

l0000D608:
	add	r8,r8,r8<<1
	add	r9,lr,r8<<2
	ld.w	r8,r9[0]
	cp.w	r8,00000005
	brne	0000E330

l0000D618:
	ld.w	r8,r9[4]
	cp.w	r8,00000000
	brlt	0000D666

l0000D61E:
	mov	r1,r8
	rjmp	0000D658

l0000D622:
	sub	r10,r9,FFFFFFFF
	mov	r1,00000000
	rjmp	0000D654

l0000D62A:
	lddpc	r8,pc[16]
	ld.ub	r11,r10[0]
	cp.w	r1,r8
	brls	0000D63C

l0000D634:
	mov	r9,FFFFFFFF
	rjmp	0000D644
0000D638                         19 99 99 99                     ....   

l0000D63C:
	add	r8,r1,r1<<2
	lsl	r9,r8,00000001

l0000D644:
	sub	r8,r11,00000030
	add	r1,r9,r8
	cp.w	r1,r9
	movcs	r1,FFFFFFFF

l0000D652:
	sub	r10,FFFFFFFF

l0000D654:
	cp.w	r10,r12
	brne	0000D62A

l0000D658:
	cp.w	r1,0000000F
	movcc	r9,r1

l0000D65E:
	movcs	r9,0000000E

l0000D662:
	mov	r3,00000001
	rjmp	0000D66C

l0000D666:
	mov	r1,00000000
	mov	r9,0000000E
	mov	r3,r1

l0000D66C:
	sub	r8,r9,FFFFFFF4
	cp.w	r8,r9
	brcc	0000D678

l0000D674:
	mov	r8,FFFFFFFF
	rjmp	0000D682

l0000D678:
	ld.w	r9,r7[-772]
	cp.w	r8,r9
	movcs	r8,r9

l0000D682:
	sub	r12,r8,FFFFFFFF
	st.w	r7[-732],r12
	cp.w	r12,r8
	brcs	0000E630

l0000D690:
	cp.w	r12,000002BC
	brhi	0000D6A2

l0000D698:
	sub	r11,r7,000002D8
	st.w	r7[-768],r11
	rjmp	0000D6BA

l0000D6A2:
	ld.w	r10,r7[-732]
	cp.w	r10,FFFFFFFF
	breq	0000E630

l0000D6AC:
	mov	r12,r10
	mcall	r6[32]
	breq	0000E630

l0000D6B6:
	st.w	r7[-768],r12

l0000D6BA:
	ld.w	r9,r7[-744]
	ld.w	r11,r7[-8]
	ld.w	r12,r9[0]
	cp.w	r5,0000000C
	brne	0000D9A6

l0000D6CA:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.d	r5:r4,r8[4]
	mov	r8,r4
	mov	r9,r5
	mov	r10,r4
	mov	r11,r5
	rcall	00010CFC
	breq	0000D70C

l0000D6E4:
	ld.w	r8,r7[-740]
	ld.w	r10,r7[-768]
	ld.ub	r11,r8[0]
	mov	r8,00000041
	sub	r10,FFFFFFFF
	cp.b	r11,r8
	brne	0000D702

l0000D6F8:
	ld.w	r12,r7[-768]
	mov	r9,0000004E
	st.b	r12[0],r9
	rjmp	0000D9DC

l0000D702:
	ld.w	r11,r7[-768]
	mov	r9,0000006E
	st.b	r11[0],r9
	rjmp	0000D9F0

l0000D70C:
	mov	r10,r4
	mov	r11,r5
	rcall	0000F278
	breq	0000D72C

l0000D716:
	lddpc	r10,pc[324]
	mov	r8,0000002D
	eor	r9,r5,r10
	ld.w	r10,r7[-768]
	mov	r5,r9
	st.b	r10++,r8
	st.w	r7[-824],r10
	rjmp	0000D764

l0000D72C:
	ld.w	r8,r7[-780]
	bld	r8,+00000002
	brne	0000D744

l0000D736:
	ld.w	r9,r7[-768]
	mov	r8,0000002B
	st.b	r9++,r8
	st.w	r7[-824],r9
	rjmp	0000D764

l0000D744:
	ld.w	r8,r7[-780]
	bld	r8,+00000003
	breq	0000D758

l0000D74E:
	ld.w	r8,r7[-768]
	st.w	r7[-824],r8
	rjmp	0000D764

l0000D758:
	ld.w	r12,r7[-768]
	mov	r8,00000020
	st.b	r12++,r8
	st.w	r7[-824],r12

l0000D764:
	mov	r8,r4
	mov	r9,r5
	mov	r10,00000000
	mov	r11,00000000
	rcall	0000F976
	breq	0000D79C

l0000D772:
	mov	r8,r4
	mov	r9,r5
	mov	r10,r4
	mov	r11,r5
	rcall	0000F650
	mov	r8,r4
	mov	r9,r5
	rcall	0000F8EC
	brne	0000DA7A

l0000D78A:
	mov	r10,r4
	mov	r11,r5
	sub	r12,r7,00000004
	rcall	0000E868
	st.d	r7[-764],r11:r10
	rjmp	0000D7A8

l0000D79C:
	mov	r10,00000000
	mov	r11,00000000
	st.d	r7[-764],r11:r10
	st.w	r7[-4],r12

l0000D7A8:
	cp.w	r3,00000000
	breq	0000D8A2

l0000D7AC:
	cp.w	r1,0000000D
	brhi	0000D8A2

l0000D7B2:
	ld.d	r5:r4,r7[-764]
	mov	r0,r1

l0000D7B8:
	mov	r10,r4
	mov	r11,r5
	rcall	0000F764
	st.w	r7[-812],r12
	rcall	0000F802
	mov	r8,r10
	mov	r9,r11
	mov	r10,r4
	mov	r11,r5
	rcall	0000F4B4
	mov	r2,r10
	mov	r3,r11
	cp.w	r0,00000000
	brne	0000D832

l0000D7DC:
	ld.w	r10,r7[-812]
	bld	r10,+00000000
	brne	0000D7FE

l0000D7E6:
	ld.d	r9:r8,pc[118]
	mov	r10,r2
	mov	r11,r3
	rcall	0000F91C
	mov	r5,r0
	movne	r5,00000001

l0000D7F8:
	bfextu	r8,r5,+00000000,+00000008
	rjmp	0000D812

l0000D7FE:
	ld.d	r11:r10,pc[94]
	mov	r8,r2
	mov	r9,r3
	rcall	0000F976
	mov	r8,r0
	movne	r8,00000001

l0000D810:
	castu.b	r8

l0000D812:
	cp.w	r8,00000000
	breq	0000D828

l0000D816:
	ld.d	r11:r10,pc[78]
	mov	r8,r2
	mov	r9,r3
	rcall	0000F4B4
	mov	r4,r10
	mov	r5,r11
	rjmp	0000D844

l0000D828:
	lddpc	r8,pc[48]
	mov	r4,r2
	eor	r5,r3,r8
	rjmp	0000D844

l0000D832:
	ld.d	r9:r8,pc[66]
	mov	r11,r3
	sub	r0,00000001
	rcall	0000F2D0
	mov	r4,r10
	mov	r5,r11
	rjmp	0000D7B8

l0000D844:
	mov	r8,00000000
	mov	r9,00000000
	mov	r10,r4
	mov	r11,r5
	rcall	0000F8EC
	brne	0000D892

l0000D852:
	mov	r3,r1
	rjmp	0000D88E
0000D856                   D7 03 80 00 00 00 3F E0 00 00       ......?...
0000D860 00 00 00 00 3F F0 00 00 00 00 00 00 3F B0 00 00 ....?.......?...
0000D870 00 00 00 00 40 30 00 00 00 00 00 00             ....@0......   

l0000D87C:
	ld.d	r9:r8,pc[-16]
	mov	r10,r4
	mov	r11,r5
	rcall	0000F2D0
	sub	r3,00000001
	mov	r4,r10
	mov	r5,r11

l0000D88E:
	cp.w	r3,00000000
	brne	0000D87C

l0000D892:
	ld.d	r11:r10,r7[-764]
	mov	r8,r4
	mov	r9,r5
	rcall	0000F650
	st.d	r7[-764],r11:r10

l0000D8A2:
	ld.w	r9,r7[-824]
	mov	r8,00000030
	st.b	r9++,r8
	ld.w	r12,r7[-740]
	st.w	r7[-824],r9
	ld.ub	r8,r12[0]
	ld.d	r11:r10,r7[-764]
	sub	r8,FFFFFFE9
	st.b	r9++,r8
	mov	r0,r9
	rcall	0000F764
	mov	r4,r0
	mov	r5,r12
	rcall	0000F802
	sub	r5,FFFFFFD0
	mov	r8,r10
	mov	r9,r11
	ld.d	r11:r10,r7[-764]
	rcall	0000F4B4
	st.b	r4++,r5
	ld.w	r8,r7[-780]
	mov	r2,r10
	mov	r3,r11
	bld	r8,+00000004
	breq	0000D8FA

l0000D8E8:
	mov	r8,r10
	mov	r9,r3
	mov	r10,00000000
	mov	r11,00000000
	rcall	0000F976
	brne	0000D8FA

l0000D8F6:
	cp.w	r1,00000000
	breq	0000D976

l0000D8FA:
	rcall	0000D204
	st.b	r4++,r12
	mov	r5,r4
	rjmp	0000D954

l0000D904:
	ld.d	r9:r8,pc[-144]
	mov	r10,r2
	mov	r11,r3
	rcall	0000F2D0
	mov	r3,r11
	mov	r11,r3
	mov	r2,r10
	rcall	0000F764
	cp.w	r12,00000009
	brgt	0000D924

l0000D920:
	mov	r9,00000030
	rjmp	0000D930

l0000D924:
	ld.w	r11,r7[-740]
	ld.ub	r8,r11[0]
	sub	r8,0000000A
	bfextu	r9,r8,+00000000,+00000008

l0000D930:
	add	r9,r12
	sub	r8,r1,00000001
	st.b	r5[0],r9
	cp.w	r1,00000000
	movne	r1,r8

l0000D93E:
	rcall	0000F802
	sub	r5,FFFFFFFF
	mov	r8,r10
	mov	r9,r11
	mov	r10,r2
	mov	r11,r3
	rcall	0000F4B4
	mov	r2,r10
	mov	r3,r11

l0000D954:
	mov	r8,r2
	mov	r9,r3
	mov	r10,00000000
	mov	r11,00000000
	rcall	0000F976
	brne	0000D904

l0000D962:
	mov	r10,r1
	mov	r9,r5
	rjmp	0000D96E

l0000D968:
	mov	r8,00000030
	sub	r1,00000001
	st.b	r5++,r8

l0000D96E:
	cp.w	r1,00000000
	brne	0000D968

l0000D972:
	add	r4,r9,r10

l0000D976:
	ld.w	r10,r7[-740]
	ld.w	r11,r6[344]
	ld.ub	r8,r10[0]
	sub	r8,FFFFFFF1
	st.b	r4++,r8
	ld.w	r8,r7[-4]
	mov	r12,r4
	st.w	--sp,r8
	mcall	r6[100]
	mov	r5,r4
	sub	sp,FFFFFFFC
	rjmp	0000D998

l0000D996:
	sub	r5,FFFFFFFF

l0000D998:
	ld.ub	r9,r5[0]
	mov	r8,00000000
	cp.b	r9,r8
	brne	0000D996

l0000D9A2:
	br	0000DCCC

l0000D9A6:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.d	r5:r4,r8[4]
	mov	r8,r4
	mov	r9,r5
	mov	r10,r4
	mov	r11,r5
	rcall	00010CFC
	breq	0000D9F6

l0000D9C0:
	ld.w	r9,r7[-740]
	ld.w	r10,r7[-768]
	ld.ub	r11,r9[0]
	mov	r8,00000041
	sub	r10,FFFFFFFF
	cp.b	r11,r8
	brne	0000D9E8

l0000D9D4:
	ld.w	r8,r7[-768]
	mov	r9,0000004E
	st.b	r8[0],r9

l0000D9DC:
	st.b	r10++,r11

l0000D9DE:
	mov	r8,r10

l0000D9E0:
	st.b	r8++,r9
	mov	r9,00000000
	mov	r5,r8
	rjmp	0000DCCE

l0000D9E8:
	ld.w	r12,r7[-768]
	mov	r9,0000006E
	st.b	r12[0],r9

l0000D9F0:
	mov	r8,00000061
	st.b	r10++,r8
	rjmp	0000D9DE

l0000D9F6:
	mov	r10,r4
	mov	r11,r5
	rcall	0000F278
	breq	0000DA16

l0000DA00:
	lddpc	r10,pc[196]
	ld.w	r11,r7[-768]
	eor	r9,r5,r10
	mov	r8,0000002D
	mov	r5,r9
	st.b	r11++,r8
	st.w	r7[-824],r11
	rjmp	0000DA56

l0000DA16:
	ld.w	r8,r7[-780]
	bld	r8,+00000002
	brne	0000DA2E

l0000DA20:
	ld.w	r10,r7[-768]
	mov	r8,0000002B
	st.b	r10++,r8
	st.w	r7[-824],r10
	rjmp	0000DA56

l0000DA2E:
	ld.w	r8,r7[-780]
	bld	r8,+00000003
	breq	0000DA42

l0000DA38:
	ld.w	r9,r7[-768]
	st.w	r7[-824],r9
	rjmp	0000DA56

l0000DA42:
	ld.w	r8,r7[-768]
	st.w	r7[-824],r8
	ld.w	r12,r7[-824]
	mov	r8,00000020
	st.b	r12++,r8
	st.w	r7[-824],r12

l0000DA56:
	mov	r8,r4
	mov	r9,r5
	mov	r10,00000000
	mov	r11,00000000
	rcall	0000F976
	breq	0000DAD8

l0000DA64:
	mov	r8,r4
	mov	r9,r5
	mov	r10,r4
	mov	r11,r5
	rcall	0000F650
	mov	r8,r4
	mov	r9,r5
	rcall	0000F8EC
	breq	0000DAB2

l0000DA7A:
	ld.w	r11,r7[-740]
	ld.w	r10,r7[-824]
	ld.ub	r9,r11[0]
	mov	r8,00000041
	sub	r10,FFFFFFFF
	cp.b	r9,r8
	brne	0000DAA0

l0000DA8E:
	ld.w	r9,r7[-824]
	mov	r8,00000049
	st.b	r9[0],r8
	mov	r8,0000004E
	st.b	r10++,r8
	mov	r9,00000046
	mov	r8,r10
	rjmp	0000D9E0

l0000DAA0:
	ld.w	r12,r7[-824]
	mov	r8,00000069
	st.b	r12[0],r8
	mov	r8,0000006E
	st.b	r10++,r8
	mov	r9,00000066
	mov	r8,r10
	rjmp	0000D9E0

l0000DAB2:
	mov	r10,r4
	mov	r11,r5
	sub	r12,r7,00000004
	rcall	0000E684
	st.d	r7[-756],r11:r10
	rjmp	0000DAE4
0000DAC4             80 00 00 00 3F E0 00 00 00 00 00 00     ....?.......
0000DAD0 3F F0 00 00 00 00 00 00                         ?.......       

l0000DAD8:
	mov	r10,00000000
	mov	r11,00000000
	st.d	r7[-756],r11:r10
	st.w	r7[-4],r12

l0000DAE4:
	cp.w	r3,00000000
	breq	0000DBB8

l0000DAE8:
	cp.w	r1,0000000D
	brhi	0000DBB8

l0000DAEE:
	ld.d	r5:r4,r7[-756]
	mov	r0,r1

l0000DAF4:
	mov	r10,r4
	mov	r11,r5
	rcall	0000F764
	st.w	r7[-816],r12
	rcall	0000F802
	mov	r8,r10
	mov	r9,r11
	mov	r10,r4
	mov	r11,r5
	rcall	0000F4B4
	mov	r2,r10
	mov	r3,r11
	cp.w	r0,00000000
	brne	0000DB6E

l0000DB18:
	ld.w	r10,r7[-816]
	bld	r10,+00000000
	brne	0000DB3A

l0000DB22:
	ld.d	r9:r8,pc[-90]
	mov	r10,r2
	mov	r11,r3
	rcall	0000F91C
	mov	r5,r0
	movne	r5,00000001

l0000DB34:
	bfextu	r8,r5,+00000000,+00000008
	rjmp	0000DB4E

l0000DB3A:
	ld.d	r11:r10,pc[-114]
	mov	r8,r2
	mov	r9,r3
	rcall	0000F976
	mov	r8,r0
	movne	r8,00000001

l0000DB4C:
	castu.b	r8

l0000DB4E:
	cp.w	r8,00000000
	breq	0000DB64

l0000DB52:
	ld.d	r11:r10,pc[-130]
	mov	r8,r2
	mov	r9,r3
	rcall	0000F4B4
	mov	r4,r10
	mov	r5,r11
	rjmp	0000DB80

l0000DB64:
	lddpc	r8,pc[328]
	mov	r4,r2
	eor	r5,r3,r8
	rjmp	0000DB80

l0000DB6E:
	ld.d	r9:r8,pc[322]
	mov	r11,r3
	sub	r0,00000001
	rcall	0000F2D0
	mov	r4,r10
	mov	r5,r11
	rjmp	0000DAF4

l0000DB80:
	mov	r8,00000000
	mov	r9,00000000
	mov	r10,r4
	mov	r11,r5
	rcall	0000F8EC
	brne	0000DBA8

l0000DB8E:
	mov	r3,r1
	rjmp	0000DBA4

l0000DB92:
	ld.d	r9:r8,pc[294]
	mov	r10,r4
	mov	r11,r5
	rcall	0000F2D0
	sub	r3,00000001
	mov	r4,r10
	mov	r5,r11

l0000DBA4:
	cp.w	r3,00000000
	brne	0000DB92

l0000DBA8:
	ld.d	r11:r10,r7[-756]
	mov	r8,r4
	mov	r9,r5
	rcall	0000F650
	st.d	r7[-756],r11:r10

l0000DBB8:
	ld.w	r9,r7[-824]
	mov	r8,00000030
	st.b	r9++,r8
	ld.w	r12,r7[-740]
	st.w	r7[-824],r9
	ld.ub	r8,r12[0]
	ld.d	r11:r10,r7[-756]
	sub	r8,FFFFFFE9
	st.b	r9++,r8
	mov	r0,r9
	rcall	0000F764
	mov	r4,r0
	mov	r5,r12
	rcall	0000F802
	sub	r5,FFFFFFD0
	mov	r8,r10
	mov	r9,r11
	ld.d	r11:r10,r7[-756]
	rcall	0000F4B4
	st.b	r4++,r5
	ld.w	r8,r7[-780]
	mov	r2,r10
	mov	r3,r11
	bld	r8,+00000004
	breq	0000DC10

l0000DBFE:
	mov	r8,r10
	mov	r9,r3
	mov	r10,00000000
	mov	r11,00000000
	rcall	0000F976
	brne	0000DC10

l0000DC0C:
	cp.w	r1,00000000
	breq	0000DC8C

l0000DC10:
	rcall	0000D204
	st.b	r4++,r12
	mov	r5,r4
	rjmp	0000DC6A

l0000DC1A:
	ld.d	r9:r8,pc[150]
	mov	r10,r2
	mov	r11,r3
	rcall	0000F2D0
	mov	r3,r11
	mov	r11,r3
	mov	r2,r10
	rcall	0000F764
	cp.w	r12,00000009
	brgt	0000DC3A

l0000DC36:
	mov	r9,00000030
	rjmp	0000DC46

l0000DC3A:
	ld.w	r11,r7[-740]
	ld.ub	r8,r11[0]
	sub	r8,0000000A
	bfextu	r9,r8,+00000000,+00000008

l0000DC46:
	add	r9,r12
	sub	r8,r1,00000001
	st.b	r5[0],r9
	cp.w	r1,00000000
	movne	r1,r8

l0000DC54:
	rcall	0000F802
	sub	r5,FFFFFFFF
	mov	r8,r10
	mov	r9,r11
	mov	r10,r2
	mov	r11,r3
	rcall	0000F4B4
	mov	r2,r10
	mov	r3,r11

l0000DC6A:
	mov	r8,r2
	mov	r9,r3
	mov	r10,00000000
	mov	r11,00000000
	rcall	0000F976
	brne	0000DC1A

l0000DC78:
	mov	r10,r1
	mov	r9,r5
	rjmp	0000DC84

l0000DC7E:
	mov	r8,00000030
	sub	r1,00000001
	st.b	r5++,r8

l0000DC84:
	cp.w	r1,00000000
	brne	0000DC7E

l0000DC88:
	add	r4,r9,r10

l0000DC8C:
	ld.w	r10,r7[-740]
	ld.w	r11,r6[344]
	ld.ub	r8,r10[0]
	sub	r8,FFFFFFF1
	st.b	r4++,r8
	ld.w	r8,r7[-4]
	mov	r12,r4
	st.w	--sp,r8
	mcall	r6[100]
	mov	r5,r4
	sub	sp,FFFFFFFC
	rjmp	0000DCC2
0000DCAC                                     80 00 00 00             ....
0000DCB0 40 30 00 00 00 00 00 00 3F B0 00 00 00 00 00 00 @0......?.......

l0000DCC0:
	sub	r5,FFFFFFFF

l0000DCC2:
	ld.ub	r9,r5[0]
	mov	r8,00000000
	cp.b	r9,r8
	brne	0000DCC0

l0000DCCC:
	mov	r9,r0

l0000DCCE:
	ld.w	r8,r7[-776]
	cp.w	r8,00000000
	breq	0000DD50

l0000DCD6:
	ld.w	r12,r7[-768]
	ld.w	r11,r7[-772]
	sub	r8,r5,r12
	cp.w	r8,r11
	brcc	0000DD50

l0000DCE6:
	mov	r10,r11
	sub	r10,r8
	ld.w	r8,r7[-780]
	add	r12,r5,r10
	andl	r8,0002,COH
	brne	0000DD00

l0000DCF8:
	rjmp	0000DD06

l0000DCFA:
	mov	r8,00000020
	sub	r10,00000001
	st.b	r5++,r8

l0000DD00:
	cp.w	r10,00000000
	brne	0000DCFA

l0000DD04:
	rjmp	0000DD4E

l0000DD06:
	ld.w	r8,r7[-780]
	bld	r8,+00000005
	brne	0000DD14

l0000DD10:
	cp.w	r9,00000000
	brne	0000DD18

l0000DD14:
	mov	r9,r12
	rjmp	0000DD38

l0000DD18:
	mov	r11,r12
	rjmp	0000DD20

l0000DD1C:
	ld.ub	r8,--r5
	st.b	--r11,r8

l0000DD20:
	cp.w	r5,r9
	brhi	0000DD1C

l0000DD26:
	rjmp	0000DD2E

l0000DD28:
	mov	r8,00000030
	sub	r10,00000001
	st.b	r5++,r8

l0000DD2E:
	cp.w	r10,00000000
	brne	0000DD28

l0000DD32:
	rjmp	0000DD4E

l0000DD34:
	ld.ub	r8,--r5
	st.b	--r9,r8

l0000DD38:
	ld.w	r11,r7[-768]
	cp.w	r5,r11
	brhi	0000DD34

l0000DD42:
	rjmp	0000DD4A

l0000DD44:
	mov	r8,00000020
	sub	r10,00000001
	st.b	r5++,r8

l0000DD4A:
	cp.w	r10,00000000
	brne	0000DD44

l0000DD4E:
	mov	r5,r12

l0000DD50:
	ld.w	r10,r7[-768]
	ld.w	r9,r7[-732]
	sub	r4,r5,r10
	cp.w	r4,r9
	brcc	0000E330

l0000DD62:
	ld.w	r8,r7[-736]
	ld.w	r12,r7[-784]
	sub	r8,r12
	cp.w	r4,r8
	brcs	0000DDFE

l0000DD70:
	add	r10,r4,r12
	ld.w	r11,r7[-736]
	cp.w	r10,r12
	movcs	r10,FFFFFFFF

l0000DD7E:
	cp.w	r10,r11
	brls	0000DDFE

l0000DD84:
	cp.w	r11,00000000
	brne	0000DD8C

l0000DD88:
	mov	r12,0000000C
	rjmp	0000DDA0

l0000DD8C:
	ld.w	r8,r7[-736]
	ld.w	r9,r7[-736]
	lsl	r8,+00000001
	cp.w	r9,00000000
	movge	r12,r8

l0000DD9C:
	movlt	r12,FFFFFFFF

l0000DDA0:
	cp.w	r12,r10
	movcs	r12,r10

l0000DDA6:
	st.w	r7[-736],r12
	cp.w	r12,FFFFFFFF
	breq	0000E630

l0000DDB0:
	ld.w	r8,r7[-788]
	ld.w	r12,r7[-804]
	cp.w	r8,r12
	sreq	r3
	cp.w	r3,00000000
	brne	0000DDC4

l0000DDC0:
	cp.w	r8,00000000
	brne	0000DDCE

l0000DDC4:
	ld.w	r12,r7[-736]
	mcall	r6[32]
	rjmp	0000DDDA

l0000DDCE:
	ld.w	r11,r7[-736]
	ld.w	r12,r7[-788]
	mcall	r6[80]

l0000DDDA:
	mov	r5,r12
	cp.w	r12,00000000
	breq	0000E630

l0000DDE2:
	cp.w	r3,00000000
	breq	0000DDFA

l0000DDE6:
	ld.w	r11,r7[-784]
	cp.w	r11,00000000
	breq	0000DDFA

l0000DDEE:
	ld.w	r11,r7[-788]
	ld.w	r10,r7[-784]
	mcall	r6[36]

l0000DDFA:
	st.w	r7[-788],r5

l0000DDFE:
	ld.w	r12,r7[-788]
	ld.w	r9,r7[-784]
	ld.w	r11,r7[-768]
	mov	r10,r4
	add	r12,r9
	mcall	r6[36]
	ld.w	r12,r7[-768]
	sub	r8,r7,000002D8
	cp.w	r12,r8
	breq	0000DE22

l0000DE1E:
	mcall	r6[12]

l0000DE22:
	ld.w	r11,r7[-784]
	add	r11,r4
	st.w	r7[-784],r11
	br	0000E4A8

l0000DE30:
	ld.w	r9,r7[-744]
	add	r8,r12,r12<<1
	ld.w	r10,r9[-32]
	ld.w	r9,r7[-8]
	ld.w	r4,r7[-800]
	ld.w	r8,r9[r8<<2]
	st.w	r7[-748],r8
	st.b	r4++,r11
	bld	r10,+00000000
	brne	0000DE58

l0000DE54:
	mov	r8,00000027
	st.b	r4++,r8

l0000DE58:
	bld	r10,+00000001
	brne	0000DE62

l0000DE5E:
	mov	r8,0000002D
	st.b	r4++,r8

l0000DE62:
	bld	r10,+00000002
	brne	0000DE6C

l0000DE68:
	mov	r8,0000002B
	st.b	r4++,r8

l0000DE6C:
	bld	r10,+00000003
	brne	0000DE76

l0000DE72:
	mov	r8,00000020
	st.b	r4++,r8

l0000DE76:
	bld	r10,+00000004
	brne	0000DE80

l0000DE7C:
	mov	r8,00000023
	st.b	r4++,r8

l0000DE80:
	bld	r10,+00000005
	brne	0000DE8A

l0000DE86:
	mov	r8,00000030
	st.b	r4++,r8

l0000DE8A:
	ld.w	r8,r7[-744]
	ld.w	r11,r8[-28]
	ld.w	r5,r8[-24]
	cp.w	r11,r5
	breq	0000DEA6

l0000DE9A:
	sub	r5,r11
	mov	r12,r4
	mov	r10,r5
	mcall	r6[36]
	add	r4,r5

l0000DEA6:
	ld.w	r12,r7[-744]
	ld.w	r11,r12[-16]
	ld.w	r5,r12[-12]
	cp.w	r11,r5
	breq	0000DEC2

l0000DEB6:
	sub	r5,r11
	mov	r12,r4
	mov	r10,r5
	mcall	r6[36]
	add	r4,r5

l0000DEC2:
	ld.w	r11,r7[-748]
	cp.w	r11,00000010
	brhi	0000DEF8

l0000DECC:
	mov	r8,00000001
	lsl	r9,r8,r11
	mov	r8,r9
	andh	r8,0001
	andl	r8,4180
	brne	0000DEF0

l0000DEDE:
	bld	r9,+0000000C
	breq	0000DEF4

l0000DEE4:
	mov	r8,r9
	andl	r8,0600,COH
	breq	0000DEF8

l0000DEEC:
	mov	r8,0000006C
	st.b	r4++,r8

l0000DEF0:
	mov	r8,0000006C
	rjmp	0000DEF6

l0000DEF4:
	mov	r8,0000004C

l0000DEF6:
	st.b	r4++,r8

l0000DEF8:
	ld.w	r10,r7[-740]
	mov	r0,r4
	ld.ub	r8,r10[0]
	st.b	r0++,r8
	mov	r8,00000025
	st.b	r0[0],r8
	mov	r8,00000000
	st.b	r4[3],r8
	mov	r8,0000006E
	st.b	r4[2],r8
	ld.w	r9,r7[-744]
	ld.w	r8,r9[-20]
	cp.w	r8,FFFFFFFF
	brne	0000DF1E

l0000DF1A:
	mov	r2,00000000
	rjmp	0000DF3A

l0000DF1E:
	ld.w	r9,r7[-8]
	add	r8,r8,r8<<1
	add	r9,r9,r8<<2
	ld.w	r8,r9[0]
	cp.w	r8,00000005
	brne	0000E330

l0000DF32:
	ld.w	r8,r9[4]
	mov	r2,00000001
	st.w	r7[-728],r8

l0000DF3A:
	ld.w	r12,r7[-744]
	ld.w	r8,r12[-8]
	cp.w	r8,FFFFFFFF
	breq	0000DF66

l0000DF46:
	ld.w	r9,r7[-8]
	add	r8,r8,r8<<1
	add	r9,r9,r8<<2
	ld.w	r8,r9[0]
	cp.w	r8,00000005
	brne	0000E330

l0000DF5A:
	add	r8,r7,r2<<2
	ld.w	r9,r9[4]
	sub	r2,FFFFFFFF
	st.w	r8[-728],r9

l0000DF66:
	ld.w	r9,r7[-784]
	ld.w	r11,r7[-784]
	sub	r9,FFFFFFFE
	ld.w	r10,r7[-736]
	cp.w	r9,r11
	movcc	r8,r9

l0000DF7A:
	movcs	r8,FFFFFFFF

l0000DF7E:
	cp.w	r8,r10
	brls	0000E022

l0000DF84:
	cp.w	r10,00000000
	brne	0000DF90

l0000DF88:
	mov	r8,0000000C
	st.w	r7[-736],r8
	rjmp	0000DFA8

l0000DF90:
	ld.w	r8,r7[-736]
	ld.w	r12,r7[-736]
	lsl	r8,+00000001
	cp.w	r12,00000000
	movge	r12,r8

l0000DFA0:
	movlt	r12,FFFFFFFF

l0000DFA4:
	st.w	r7[-736],r12

l0000DFA8:
	ld.w	r11,r7[-784]
	ld.w	r10,r7[-736]
	cp.w	r9,r11
	movcc	r8,r9

l0000DFB6:
	movcs	r8,FFFFFFFF

l0000DFBA:
	cp.w	r8,r10
	brls	0000DFCA

l0000DFC0:
	cp.w	r9,r11
	brcs	0000E630

l0000DFC6:
	st.w	r7[-736],r9

l0000DFCA:
	ld.w	r9,r7[-736]
	cp.w	r9,FFFFFFFF
	breq	0000E630

l0000DFD4:
	ld.w	r8,r7[-788]
	ld.w	r12,r7[-804]
	cp.w	r8,r12
	sreq	r4
	cp.w	r4,00000000
	brne	0000DFE8

l0000DFE4:
	cp.w	r8,00000000
	brne	0000DFF2

l0000DFE8:
	ld.w	r12,r7[-736]
	mcall	r6[32]
	rjmp	0000DFFE

l0000DFF2:
	ld.w	r11,r7[-736]
	ld.w	r12,r7[-788]
	mcall	r6[80]

l0000DFFE:
	mov	r5,r12
	cp.w	r12,00000000
	breq	0000E630

l0000E006:
	cp.w	r4,00000000
	breq	0000E01E

l0000E00A:
	ld.w	r11,r7[-784]
	cp.w	r11,00000000
	breq	0000E01E

l0000E012:
	ld.w	r11,r7[-788]
	ld.w	r10,r7[-784]
	mcall	r6[36]

l0000E01E:
	st.w	r7[-788],r5

l0000E022:
	ld.w	r10,r7[-788]
	ld.w	r9,r7[-784]
	mov	r8,00000000
	st.b	r10[r9],r8
	ld.w	r3,r7[-728]
	ld.w	r1,r7[-724]

l0000E038:
	mov	r8,FFFFFFFF
	st.w	r7[-4],r8
	ld.w	r12,r7[-784]
	ld.w	r8,r7[-736]
	sub	r8,r12
	st.w	r7[-824],r8
	brpl	0000E054

l0000E04E:
	lddpc	r11,pc[364]
	st.w	r7[-824],r11

l0000E054:
	ld.w	r9,r7[-748]
	sub	r9,00000001
	cp.w	r9,00000010
	brhi	0000E330

l0000E060:
	ld.w	r10,r7[-744]
	sub	r8,pc,FFFFFFF0
	ld.w	r11,r7[-8]
	ld.w	r12,r10[0]
	add	pc,r8,r9<<2
0000E072       D7 03                                       ..           

l0000E074:
	br	0000E0B8

l0000E078:
	br	0000E0C6

l0000E07C:
	br	0000E0D2

l0000E080:
	br	0000E0DE

l0000E084:
	br	0000E28E

l0000E088:
	br	0000E28E

l0000E08C:
	br	0000E28E

l0000E090:
	br	0000E28E

l0000E094:
	br	0000E0EA

l0000E098:
	br	0000E150

l0000E09C:
	br	0000E1BC

l0000E0A0:
	br	0000E214

l0000E0A4:
	br	0000E28E

l0000E0A8:
	br	0000E28E

l0000E0AC:
	br	0000E28E

l0000E0B0:
	br	0000E28E

l0000E0B4:
	br	0000E28E

l0000E0B8:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.sb	r9,r8[4]
	rjmp	0000E298

l0000E0C6:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.ub	r9,r8[-4]
	rjmp	0000E298

l0000E0D2:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.sh	r9,r8[4]
	rjmp	0000E298

l0000E0DE:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.uh	r9,r8[4]
	rjmp	0000E298

l0000E0EA:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.d	r5:r4,r8[4]
	cp.w	r2,00000000
	breq	0000E106

l0000E0FA:
	cp.w	r2,00000001
	breq	0000E128

l0000E0FE:
	cp.w	r2,00000002
	brne	0000E330

l0000E104:
	rjmp	0000E13C

l0000E106:
	ld.w	r12,r7[-788]
	ld.w	r9,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r9

l0000E118:
	sub	r8,r7,00000004
	st.w	--sp,r8
	st.d	--sp,r5:r4

l0000E120:
	mcall	r6[204]
	sub	sp,FFFFFFF4
	rjmp	0000E30A

l0000E128:
	ld.w	r12,r7[-788]
	ld.w	r8,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r8
	rjmp	0000E192

l0000E13C:
	ld.w	r12,r7[-788]
	ld.w	r9,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r9
	rjmp	0000E1AE

l0000E150:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.d	r5:r4,r8[4]
	cp.w	r2,00000000
	breq	0000E16C

l0000E160:
	cp.w	r2,00000001
	breq	0000E180

l0000E164:
	cp.w	r2,00000002
	brne	0000E330

l0000E16A:
	rjmp	0000E19C

l0000E16C:
	ld.w	r12,r7[-788]
	ld.w	r8,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r8
	rjmp	0000E118

l0000E180:
	ld.w	r12,r7[-788]
	ld.w	r9,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r9

l0000E192:
	sub	r8,r7,00000004
	st.w	--sp,r8
	st.d	--sp,r5:r4
	rjmp	0000E302

l0000E19C:
	ld.w	r12,r7[-788]
	ld.w	r8,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r8

l0000E1AE:
	sub	r8,r7,00000004
	st.w	--sp,r8
	st.d	--sp,r5:r4
	rjmp	0000E282
0000E1B8                         7F FF FF FF                     ....   

l0000E1BC:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.d	r5:r4,r8[4]
	cp.w	r2,00000000
	breq	0000E1D8

l0000E1CC:
	cp.w	r2,00000001
	breq	0000E1EC

l0000E1D0:
	cp.w	r2,00000002
	brne	0000E330

l0000E1D6:
	rjmp	0000E200

l0000E1D8:
	ld.w	r12,r7[-788]
	ld.w	r9,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r9
	rjmp	0000E242

l0000E1EC:
	ld.w	r12,r7[-788]
	ld.w	r8,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r8
	rjmp	0000E25E

l0000E200:
	ld.w	r12,r7[-788]
	ld.w	r9,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r9
	rjmp	0000E27A

l0000E214:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.d	r5:r4,r8[4]
	cp.w	r2,00000000
	breq	0000E230

l0000E224:
	cp.w	r2,00000001
	breq	0000E24C

l0000E228:
	cp.w	r2,00000002
	brne	0000E330

l0000E22E:
	rjmp	0000E268

l0000E230:
	ld.w	r12,r7[-788]
	ld.w	r8,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r8

l0000E242:
	sub	r8,r7,00000004
	st.w	--sp,r8
	st.d	--sp,r5:r4
	rjmp	0000E120

l0000E24C:
	ld.w	r12,r7[-788]
	ld.w	r9,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r9

l0000E25E:
	sub	r8,r7,00000004
	st.w	--sp,r8
	st.d	--sp,r5:r4
	rjmp	0000E302

l0000E268:
	ld.w	r12,r7[-788]
	ld.w	r8,r7[-784]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r8

l0000E27A:
	sub	r8,r7,00000004
	st.w	--sp,r8
	st.d	--sp,r5:r4

l0000E282:
	st.w	--sp,r1
	st.w	--sp,r3
	mcall	r6[204]
	sub	sp,FFFFFFEC
	rjmp	0000E30A

l0000E28E:
	add	r8,r12,r12<<1
	add	r8,r11,r8<<2
	ld.w	r9,r8[4]

l0000E298:
	cp.w	r2,00000000
	breq	0000E2A6

l0000E29C:
	cp.w	r2,00000001
	breq	0000E2C8

l0000E2A0:
	cp.w	r2,00000002
	brne	0000E330

l0000E2A4:
	rjmp	0000E2E6

l0000E2A6:
	ld.w	r8,r7[-784]
	ld.w	r12,r7[-788]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r8
	sub	r8,r7,00000004
	st.w	--sp,r8
	st.w	--sp,r9
	mcall	r6[204]
	sub	sp,FFFFFFF8
	rjmp	0000E30A

l0000E2C8:
	ld.w	r8,r7[-784]
	ld.w	r12,r7[-788]
	ld.w	r10,r7[-800]
	ld.w	r11,r7[-824]
	add	r12,r8
	sub	r8,r7,00000004
	st.w	--sp,r8
	st.w	--sp,r9
	st.w	--sp,r3
	rjmp	0000E120

l0000E2E6:
	ld.w	r8,r7[-784]
	ld.w	r12,r7[-788]
	ld.w	r10,r7[-800]
	add	r12,r8
	sub	r8,r7,00000004
	ld.w	r11,r7[-824]
	st.w	--sp,r8
	st.w	--sp,r9
	st.w	--sp,r1

l0000E302:
	st.w	--sp,r3
	mcall	r6[204]
	sub	sp,FFFFFFF0

l0000E30A:
	ld.w	r10,r7[-4]
	cp.w	r10,00000000
	brlt	0000E33C

l0000E312:
	ld.w	r11,r7[-824]
	cp.w	r10,r11
	brcc	0000E334

l0000E31A:
	ld.w	r9,r7[-788]
	ld.w	r8,r7[-784]
	add	r8,r9
	ld.ub	r9,r8[r10]
	mov	r8,00000000
	cp.b	r9,r8
	breq	0000E334

l0000E330:
	mcall	r6[76]

l0000E334:
	cp.w	r12,r10
	brle	0000E396

l0000E33A:
	rjmp	0000E392

l0000E33C:
	ld.ub	r8,r0[0]
	mov	r9,00000000
	cp.b	r8,r9
	breq	0000E34A

l0000E346:
	st.b	r0[0],r9
	rjmp	0000E038

l0000E34A:
	cp.w	r12,00000000
	brge	0000E392

l0000E34E:
	ld.w	r8,r7[-736]
	ld.w	r12,r7[-736]
	lsl	r8,+00000001
	cp.w	r12,00000000
	movlt	r8,FFFFFFFF

l0000E35E:
	sub	r10,r8,FFFFFFF4
	cp.w	r10,r8
	movcs	r10,FFFFFFFF

l0000E368:
	cp.w	r10,r12
	brls	0000E038

l0000E36E:
	cp.w	r12,00000000
	brne	0000E376

l0000E372:
	mov	r12,0000000C
	rjmp	0000E38A

l0000E376:
	ld.w	r8,r7[-736]
	ld.w	r11,r7[-736]
	lsl	r8,+00000001
	cp.w	r11,00000000
	movge	r12,r8

l0000E386:
	movlt	r12,FFFFFFFF

l0000E38A:
	cp.w	r12,r10
	movcs	r12,r10

l0000E390:
	rjmp	0000E444

l0000E392:
	st.w	r7[-4],r12

l0000E396:
	ld.w	r9,r7[-4]
	cp.w	r9,00000000
	brge	0000E3E2

l0000E39E:
	ld.w	r12,r7[-788]
	ld.w	r11,r7[-804]
	cp.w	r12,r11
	breq	0000E3B2

l0000E3AA:
	cp.w	r12,00000000
	breq	0000E3B2

l0000E3AE:
	mcall	r6[12]

l0000E3B2:
	ld.w	r10,r7[-796]
	cp.w	r10,00000000
	breq	0000E3C0

l0000E3BA:
	mov	r12,r10
	mcall	r6[12]

l0000E3C0:
	ld.w	r12,r7[-24]
	mcall	r6[12]
	ld.w	r12,r7[-8]
	cp.w	r12,00000000
	breq	0000E3D4

l0000E3D0:
	mcall	r6[12]

l0000E3D4:
	mcall	r6[28]
	mov	r9,00000000
	st.w	r7[-788],r9

l0000E3DE:
	mov	r8,00000016
	rjmp	0000E674

l0000E3E2:
	ld.w	r12,r7[-824]
	sub	r8,r9,FFFFFFFF
	cp.w	r8,r12
	brcs	0000E49E

l0000E3EE:
	lddpc	r8,pc[364]
	cp.w	r12,r8
	breq	0000E5EC

l0000E3F6:
	sub	r8,r9,FFFFFFFE
	ld.w	r11,r7[-784]
	ld.w	r9,r7[-736]
	ld.w	r10,r7[-736]
	add	r8,r11
	lsl	r9,+00000001
	cp.w	r10,00000000
	movlt	r9,FFFFFFFF

l0000E410:
	cp.w	r8,r11
	movcs	r8,FFFFFFFF

l0000E416:
	cp.w	r8,r9
	movcc	r9,r8

l0000E41C:
	cp.w	r9,r10
	brls	0000E038

l0000E422:
	cp.w	r10,00000000
	brne	0000E42A

l0000E426:
	mov	r12,0000000C
	rjmp	0000E43E

l0000E42A:
	ld.w	r8,r7[-736]
	ld.w	r11,r7[-736]
	lsl	r8,+00000001
	cp.w	r11,00000000
	movge	r12,r8

l0000E43A:
	movlt	r12,FFFFFFFF

l0000E43E:
	cp.w	r12,r9
	movcs	r12,r9

l0000E444:
	st.w	r7[-736],r12
	cp.w	r12,FFFFFFFF
	breq	0000E630

l0000E44E:
	ld.w	r10,r7[-788]
	ld.w	r9,r7[-804]
	cp.w	r10,r9
	sreq	r4
	cp.w	r4,00000000
	brne	0000E462

l0000E45E:
	cp.w	r10,00000000
	brne	0000E46C

l0000E462:
	ld.w	r12,r7[-736]
	mcall	r6[32]
	rjmp	0000E478

l0000E46C:
	ld.w	r11,r7[-736]
	ld.w	r12,r7[-788]
	mcall	r6[80]

l0000E478:
	mov	r5,r12
	cp.w	r12,00000000
	breq	0000E630

l0000E480:
	cp.w	r4,00000000
	breq	0000E496

l0000E484:
	ld.w	r8,r7[-784]
	cp.w	r8,00000000
	breq	0000E496

l0000E48C:
	ld.w	r11,r7[-788]
	mov	r10,r8
	mcall	r6[36]

l0000E496:
	st.w	r7[-788],r5
	br	0000E038

l0000E49E:
	ld.w	r12,r7[-784]
	add	r12,r9
	st.w	r7[-784],r12

l0000E4A8:
	ld.w	r11,r7[-744]
	ld.w	r10,r7[-792]
	ld.w	r9,r7[-740]
	ld.w	r4,r11[-36]
	sub	r10,FFFFFFFF
	sub	r11,FFFFFFD4
	sub	r9,FFFFFFD4
	st.w	r7[-792],r10
	st.w	r7[-744],r11
	st.w	r7[-740],r9
	br	0000D31C

l0000E4CE:
	ld.w	r3,r7[-784]
	ld.w	r12,r7[-784]
	sub	r3,FFFFFFFF
	ld.w	r11,r7[-736]
	cp.w	r3,r12
	movcc	r8,r3

l0000E4E2:
	movcs	r8,FFFFFFFF

l0000E4E6:
	cp.w	r8,r11
	brls	0000E58A

l0000E4EC:
	cp.w	r11,00000000
	brne	0000E4F8

l0000E4F0:
	mov	r10,0000000C
	st.w	r7[-736],r10
	rjmp	0000E510

l0000E4F8:
	ld.w	r8,r7[-736]
	ld.w	r9,r7[-736]
	lsl	r8,+00000001
	cp.w	r9,00000000
	movge	r9,r8

l0000E508:
	movlt	r9,FFFFFFFF

l0000E50C:
	st.w	r7[-736],r9

l0000E510:
	ld.w	r12,r7[-784]
	ld.w	r11,r7[-736]
	cp.w	r3,r12
	movcc	r8,r3

l0000E51E:
	movcs	r8,FFFFFFFF

l0000E522:
	cp.w	r8,r11
	brls	0000E532

l0000E528:
	cp.w	r3,r12
	brcs	0000E630

l0000E52E:
	st.w	r7[-736],r3

l0000E532:
	ld.w	r10,r7[-736]
	cp.w	r10,FFFFFFFF
	breq	0000E630

l0000E53A:
	ld.w	r9,r7[-788]
	ld.w	r8,r7[-804]
	cp.w	r9,r8
	sreq	r4
	cp.w	r4,00000000
	brne	0000E54E

l0000E54A:
	cp.w	r9,00000000
	brne	0000E55C

l0000E54E:
	ld.w	r12,r7[-736]
	mcall	r6[32]
	rjmp	0000E568
0000E558                         7F FF FF FF                     ....   

l0000E55C:
	ld.w	r11,r7[-736]
	ld.w	r12,r7[-788]
	mcall	r6[80]

l0000E568:
	mov	r5,r12
	cp.w	r12,00000000
	breq	0000E630

l0000E56E:
	cp.w	r4,00000000
	breq	0000E586

l0000E572:
	ld.w	r12,r7[-784]
	cp.w	r12,00000000
	breq	0000E586

l0000E57A:
	ld.w	r11,r7[-788]
	mov	r10,r12
	mov	r12,r5
	mcall	r6[36]

l0000E586:
	st.w	r7[-788],r5

l0000E58A:
	ld.w	r11,r7[-788]
	ld.w	r10,r7[-784]
	mov	r8,00000000
	st.b	r11[r10],r8
	ld.w	r9,r7[-804]
	cp.w	r11,r9
	breq	0000E5BE

l0000E5A0:
	ld.w	r8,r7[-736]
	cp.w	r3,r8
	brcc	0000E5BE

l0000E5A8:
	ld.w	r12,r7[-788]
	mov	r11,r3
	mcall	r6[80]
	ld.w	r11,r7[-788]
	movne	r11,r12

l0000E5BA:
	st.w	r7[-788],r11

l0000E5BE:
	ld.w	r10,r7[-796]
	cp.w	r10,00000000
	breq	0000E5CC

l0000E5C6:
	mov	r12,r10
	mcall	r6[12]

l0000E5CC:
	ld.w	r12,r7[-24]
	mcall	r6[12]
	ld.w	r12,r7[-8]
	cp.w	r12,00000000
	breq	0000E5E0

l0000E5DC:
	mcall	r6[12]

l0000E5E0:
	ld.w	r8,r7[-784]
	ld.w	r9,r7[-808]
	st.w	r9[0],r8
	rjmp	0000E676

l0000E5EC:
	ld.w	r12,r7[-788]
	ld.w	r11,r7[-804]
	cp.w	r12,r11
	breq	0000E600

l0000E5F8:
	cp.w	r12,00000000
	breq	0000E600

l0000E5FC:
	mcall	r6[12]

l0000E600:
	ld.w	r10,r7[-796]
	cp.w	r10,00000000
	breq	0000E60E

l0000E608:
	mov	r12,r10
	mcall	r6[12]

l0000E60E:
	ld.w	r12,r7[-24]
	mcall	r6[12]
	ld.w	r12,r7[-8]
	cp.w	r12,00000000
	breq	0000E622

l0000E61E:
	mcall	r6[12]

l0000E622:
	mcall	r6[28]
	mov	r9,00000000
	mov	r8,0000004B
	st.w	r7[-788],r9
	rjmp	0000E674

l0000E630:
	ld.w	r8,r7[-788]
	ld.w	r12,r7[-804]
	cp.w	r8,r12
	breq	0000E646

l0000E63C:
	cp.w	r8,00000000
	breq	0000E646

l0000E640:
	mov	r12,r8
	mcall	r6[12]

l0000E646:
	ld.w	r11,r7[-796]
	cp.w	r11,00000000
	breq	0000E654

l0000E64E:
	mov	r12,r11
	mcall	r6[12]

l0000E654:
	ld.w	r12,r7[-24]
	mcall	r6[12]
	ld.w	r12,r7[-8]
	cp.w	r12,00000000
	breq	0000E668

l0000E664:
	mcall	r6[12]

l0000E668:
	mcall	r6[28]
	mov	r10,00000000
	mov	r8,0000000C
	st.w	r7[-788],r10

l0000E674:
	st.w	r12[0],r8

l0000E676:
	ld.w	r12,r7[-788]
	ld.w	sp,r7[-820]
	sub	sp,FFFFFCC8
	popm	r0-r3,r4-r7,pc

;; fn0000E684: 0000E684
;;   Called from:
;;     0000DABA (in fn0000D220)
fn0000E684 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,0000041C
	lddpc	r6,pc[384]
	rsub	r6,pc
	ld.d	r9:r8,pc[382]
	mov	r4,r10
	mov	r5,r11
	stdsp	sp[8],r12
	rcall	0000F91C
	ld.d	r11:r10,pc[376]
	ld.d	r9:r8,pc[380]
	breq	0000E718

l0000E6A6:
	mov	r1,00000000
	mov	r2,r8
	mov	r3,r9
	mov	r0,r1
	st.d	sp[12],r11:r10

l0000E6B2:
	ld.d	r9:r8,sp[12]
	mov	r10,r4
	mov	r11,r5
	rcall	0000F91C
	mov	r8,00000001
	lsl	lr,r8,r1
	mov	r10,r4
	mov	r11,r5
	mov	r8,r2
	mov	r9,r3
	cp.w	r12,00000000
	breq	0000E7EE

l0000E6D2:
	add	r0,lr
	rcall	0000F2D0
	lsl	r8,r1,00000003
	sub	r9,sp,FFFFFFE4
	st.b	r8[r9],r3:r2
	mov	r4,r10
	mov	r5,r11
	ld.d	r11:r10,sp[12]
	sub	r9,sp,FFFFFDE4
	st.b	r8[r9],r11:r10
	sub	r1,FFFFFFFF
	ld.d	r9:r8,sp[12]
	mov	r10,r8
	mov	r11,r9
	rcall	0000F2D0
	mov	r8,r2
	st.d	sp[12],r11:r10
	mov	r9,r3
	mov	r10,r2
	mov	r11,r3
	rcall	0000F2D0
	mov	r2,r10
	mov	r3,r11
	rjmp	0000E6B2

l0000E718:
	mov	r1,r12
	mov	lr,r12
	st.d	sp[0],r11:r10
	st.d	sp[20],r9:r8

l0000E724:
	mov	r12,00000001
	lsl	r12,r12,r1
	sub	r0,lr,r12
	mov	r10,r4
	mov	r11,r5
	ld.d	r9:r8,sp[0]
	cp.w	r0,FFFFFC02
	brlt	0000E794

l0000E73C:
	rcall	0000F2D0
	ld.d	r9:r8,pc[204]
	mov	r5,r11
	mov	r11,r5
	mov	r4,r10
	rcall	0000F91C
	ld.d	r9:r8,sp[0]
	lsl	lr,r1,00000003
	mov	r10,r8
	mov	r11,r9
	cp.w	r12,00000000
	brne	0000E796

l0000E75E:
	ld.d	r3:r2,sp[20]
	sub	r12,sp,FFFFFFE4
	st.b	lr[r12],r3:r2
	sub	r12,sp,FFFFFDE4
	ld.d	r3:r2,sp[0]
	sub	r1,FFFFFFFF
	st.b	lr[r12],r3:r2
	rcall	0000F2D0
	ld.d	r9:r8,sp[20]
	st.d	sp[0],r11:r10
	mov	r10,r8
	mov	r11,r9
	rcall	0000F2D0
	mov	lr,r0
	st.d	sp[20],r11:r10
	rjmp	0000E724

l0000E794:
	mov	r0,lr

l0000E796:
	ld.d	r9:r8,pc[118]
	mov	r10,r4
	mov	r11,r5
	rcall	0000F976
	breq	0000E7EE

l0000E7A4:
	sub	r2,sp,FFFFFBE4
	add	r8,r2,r1<<3
	sub	r7,r8,00000208
	mov	r9,r0
	rjmp	0000E7E2

l0000E7B4:
	sub	r1,00000001
	mov	r8,00000001
	lsl	r8,r8,r1
	sub	r0,r9,r8
	cp.w	r0,FFFFFC02
	brlt	0000E7E0

l0000E7C6:
	ld.d	r9:r8,r7[0]
	rcall	0000F2D0
	ld.d	r9:r8,pc[62]
	mov	r5,r11
	mov	r11,r5
	mov	r4,r10
	rcall	0000F91C
	mov	r9,r0
	brne	0000E7EE

l0000E7E0:
	sub	r7,00000008

l0000E7E2:
	mov	r10,r4
	mov	r11,r5
	cp.w	r1,00000000
	brgt	0000E7B4

l0000E7EC:
	mov	r0,r9

l0000E7EE:
	sub	r8,r1,00000001
	lsl	r8,+00000003
	sub	r9,sp,FFFFFDE4
	add	r3,r9,r8
	sub	r9,sp,FFFFFFE4
	add	r7,r9,r8
	rjmp	0000E84E
0000E806                   D7 03 FF FF 96 9C 3F F0 00 00       ......?...
0000E810 00 00 00 00 40 00 00 00 00 00 00 00 3F E0 00 00 ....@.......?...
0000E820 00 00 00 00                                     ....           

l0000E824:
	ld.d	r9:r8,r3[0]
	sub	r1,00000001
	sub	r3,00000008
	rcall	0000F91C
	mov	r8,00000001
	lsl	lr,r8,r1
	mov	r10,r4
	mov	r11,r5
	cp.w	r12,00000000
	breq	0000E84C

l0000E83E:
	ld.d	r9:r8,r7[0]
	add	r0,lr
	rcall	0000F2D0
	mov	r4,r10
	mov	r5,r11

l0000E84C:
	sub	r7,00000008

l0000E84E:
	mov	r10,r4
	mov	r11,r5
	cp.w	r1,00000000
	brgt	0000E824

l0000E858:
	lddsp	r11,sp[8]
	mov	r10,r4
	st.w	r11[0],r0
	mov	r11,r5
	sub	sp,FFFFFBE4
	popm	r0-r3,r4-r7,pc
0000E866                   D7 03                               ..       

;; fn0000E868: 0000E868
;;   Called from:
;;     0000D792 (in fn0000D220)
fn0000E868 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,sp,0000041C
	lddpc	r6,pc[384]
	rsub	r6,pc
	ld.d	r9:r8,pc[382]
	mov	r4,r10
	mov	r5,r11
	stdsp	sp[8],r12
	rcall	0000F91C
	ld.d	r11:r10,pc[376]
	ld.d	r9:r8,pc[380]
	breq	0000E8FC

l0000E88A:
	mov	r1,00000000
	mov	r2,r8
	mov	r3,r9
	mov	r0,r1
	st.d	sp[12],r11:r10

l0000E896:
	ld.d	r9:r8,sp[12]
	mov	r10,r4
	mov	r11,r5
	rcall	0000F91C
	mov	r8,00000001
	lsl	lr,r8,r1
	mov	r10,r4
	mov	r11,r5
	mov	r8,r2
	mov	r9,r3
	cp.w	r12,00000000
	breq	0000E9D2

l0000E8B6:
	add	r0,lr
	rcall	0000F2D0
	lsl	r8,r1,00000003
	sub	r9,sp,FFFFFFE4
	st.b	r8[r9],r3:r2
	mov	r4,r10
	mov	r5,r11
	ld.d	r11:r10,sp[12]
	sub	r9,sp,FFFFFDE4
	st.b	r8[r9],r11:r10
	sub	r1,FFFFFFFF
	ld.d	r9:r8,sp[12]
	mov	r10,r8
	mov	r11,r9
	rcall	0000F2D0
	mov	r8,r2
	st.d	sp[12],r11:r10
	mov	r9,r3
	mov	r10,r2
	mov	r11,r3
	rcall	0000F2D0
	mov	r2,r10
	mov	r3,r11
	rjmp	0000E896

l0000E8FC:
	mov	r1,r12
	mov	lr,r12
	st.d	sp[0],r11:r10
	st.d	sp[20],r9:r8

l0000E908:
	mov	r12,00000001
	lsl	r12,r12,r1
	sub	r0,lr,r12
	mov	r10,r4
	mov	r11,r5
	ld.d	r9:r8,sp[0]
	cp.w	r0,FFFFFC02
	brlt	0000E978

l0000E920:
	rcall	0000F2D0
	ld.d	r9:r8,pc[204]
	mov	r5,r11
	mov	r11,r5
	mov	r4,r10
	rcall	0000F91C
	ld.d	r9:r8,sp[0]
	lsl	lr,r1,00000003
	mov	r10,r8
	mov	r11,r9
	cp.w	r12,00000000
	brne	0000E97A

l0000E942:
	ld.d	r3:r2,sp[20]
	sub	r12,sp,FFFFFFE4
	st.b	lr[r12],r3:r2
	sub	r12,sp,FFFFFDE4
	ld.d	r3:r2,sp[0]
	sub	r1,FFFFFFFF
	st.b	lr[r12],r3:r2
	rcall	0000F2D0
	ld.d	r9:r8,sp[20]
	st.d	sp[0],r11:r10
	mov	r10,r8
	mov	r11,r9
	rcall	0000F2D0
	mov	lr,r0
	st.d	sp[20],r11:r10
	rjmp	0000E908

l0000E978:
	mov	r0,lr

l0000E97A:
	ld.d	r9:r8,pc[118]
	mov	r10,r4
	mov	r11,r5
	rcall	0000F976
	breq	0000E9D2

l0000E988:
	sub	r2,sp,FFFFFBE4
	add	r8,r2,r1<<3
	sub	r7,r8,00000208
	mov	r9,r0
	rjmp	0000E9C6

l0000E998:
	sub	r1,00000001
	mov	r8,00000001
	lsl	r8,r8,r1
	sub	r0,r9,r8
	cp.w	r0,FFFFFC02
	brlt	0000E9C4

l0000E9AA:
	ld.d	r9:r8,r7[0]
	rcall	0000F2D0
	ld.d	r9:r8,pc[62]
	mov	r5,r11
	mov	r11,r5
	mov	r4,r10
	rcall	0000F91C
	mov	r9,r0
	brne	0000E9D2

l0000E9C4:
	sub	r7,00000008

l0000E9C6:
	mov	r10,r4
	mov	r11,r5
	cp.w	r1,00000000
	brgt	0000E998

l0000E9D0:
	mov	r0,r9

l0000E9D2:
	sub	r8,r1,00000001
	lsl	r8,+00000003
	sub	r9,sp,FFFFFDE4
	add	r3,r9,r8
	sub	r9,sp,FFFFFFE4
	add	r7,r9,r8
	rjmp	0000EA32
0000E9EA                               D7 03 FF FF 98 80           ......
0000E9F0 3F F0 00 00 00 00 00 00 40 00 00 00 00 00 00 00 ?.......@.......
0000EA00 3F E0 00 00 00 00 00 00                         ?.......       

l0000EA08:
	ld.d	r9:r8,r3[0]
	sub	r1,00000001
	sub	r3,00000008
	rcall	0000F91C
	mov	r8,00000001
	lsl	lr,r8,r1
	mov	r10,r4
	mov	r11,r5
	cp.w	r12,00000000
	breq	0000EA30

l0000EA22:
	ld.d	r9:r8,r7[0]
	add	r0,lr
	rcall	0000F2D0
	mov	r4,r10
	mov	r5,r11

l0000EA30:
	sub	r7,00000008

l0000EA32:
	mov	r10,r4
	mov	r11,r5
	cp.w	r1,00000000
	brgt	0000EA08

l0000EA3C:
	lddsp	r11,sp[8]
	mov	r10,r4
	st.w	r11[0],r0
	mov	r11,r5
	sub	sp,FFFFFBE4
	popm	r0-r3,r4-r7,pc
0000EA4A                               D7 03                       ..   

;; fn0000EA4C: 0000EA4C
;;   Called from:
;;     0000D25C (in fn0000D220)
fn0000EA4C proc
	pushm	r4-r7,lr
	lddpc	r6,pc[220]
	rsub	r6,pc
	ld.w	r8,r11[4]
	mov	lr,r11
	sub	r10,r8,FFFFFFFC
	mov	r11,00000000
	rjmp	0000EB20

l0000EA5E:
	ld.w	r8,r10[-4]
	sub	r9,r8,00000001
	cp.w	r9,00000015
	brhi	0000EACC

l0000EA6C:
	sub	r8,pc,FFFFFFF8
	add	pc,r8,r9<<2

l0000EA74:
	br	0000EACE

l0000EA78:
	br	0000EACE

l0000EA7C:
	br	0000EAD6

l0000EA80:
	br	0000EAD6

l0000EA84:
	br	0000EB16

l0000EA88:
	br	0000EB16

l0000EA8C:
	br	0000EB16

l0000EA90:
	br	0000EB16

l0000EA94:
	br	0000EADE

l0000EA98:
	br	0000EADE

l0000EA9C:
	br	0000EAEA

l0000EAA0:
	br	0000EAEA

l0000EAA4:
	br	0000EB16

l0000EAA8:
	br	0000EB16

l0000EAAC:
	br	0000EAF6

l0000EAB0:
	br	0000EB06

l0000EAB4:
	br	0000EB16

l0000EAB8:
	br	0000EB16

l0000EABC:
	br	0000EB16

l0000EAC0:
	br	0000EB16

l0000EAC4:
	br	0000EB16

l0000EAC8:
	br	0000EB16

l0000EACC:
	popm	r4-r7,pc,r12=-1

l0000EACE:
	ld.w	r8,r12[0]
	sub	r12,FFFFFFFC
	st.b	r10[0],r8
	rjmp	0000EB1C

l0000EAD6:
	ld.w	r8,r12[0]
	sub	r12,FFFFFFFC
	st.h	r10[0],r8
	rjmp	0000EB1C

l0000EADE:
	ld.d	r9:r8,r12[0]
	sub	r12,FFFFFFF8
	st.d	r10[0],r9:r8
	rjmp	0000EB1C

l0000EAEA:
	ld.d	r9:r8,r12[0]
	sub	r12,FFFFFFF8
	st.d	r10[0],r9:r8
	rjmp	0000EB1C

l0000EAF6:
	ld.w	r8,r12[0]
	st.w	r10[0],r8
	sub	r12,FFFFFFFC
	cp.w	r8,00000000
	brne	0000EB1C

l0000EB00:
	ld.w	r8,r6[608]
	rjmp	0000EB1A

l0000EB06:
	ld.w	r8,r12[0]
	st.w	r10[0],r8
	sub	r12,FFFFFFFC
	cp.w	r8,00000000
	brne	0000EB1C

l0000EB10:
	sub	r8,pc,FFFFFFE4
	rjmp	0000EB1A

l0000EB16:
	ld.w	r8,r12[0]
	sub	r12,FFFFFFFC

l0000EB1A:
	st.w	r10[0],r8

l0000EB1C:
	sub	r11,FFFFFFFF
	sub	r10,FFFFFFF4

l0000EB20:
	ld.w	r8,lr[0]
	cp.w	r11,r8
	brcs	0000EA5E

l0000EB26:
	popm	r4-r7,pc,r12=0
0000EB28                         FF FF 9A 60 00 00 00 28         ...`...(
0000EB30 00 00 00 4E 00 00 00 55 00 00 00 4C 00 00 00 4C ...N...U...L...L
0000EB40 00 00 00 29 00 00 00 00                         ...)....       

;; fn0000EB48: 0000EB48
;;   Called from:
;;     0000D248 (in fn0000D220)
fn0000EB48 proc
	pushm	r0-r3,r4-r7,lr
	sub	sp,00000018
	lddpc	r6,pc[320]
	rsub	r6,pc
	mov	r7,r12
	mov	r5,00000000
	mov	r12,0000002C
	mov	r0,r11
	mov	r1,r10
	st.w	r11[0],r5
	mcall	r6[32]
	st.w	r0[4],r12
	breq	0000F25E

l0000EB66:
	mov	r10,00000001
	stdsp	sp[0],r5
	stdsp	sp[8],r5
	stdsp	sp[4],r10
	stdsp	sp[12],r5
	mov	r2,r5
	st.w	r1[0],r5
	st.w	r1[4],r5
	br	0000F20C

l0000EB7A:
	mov	r8,00000025
	sub	r7,FFFFFFFF
	cp.b	r12,r8
	brne	0000F20C

l0000EB86:
	ld.w	r8,r0[0]
	ld.w	r10,r0[4]
	mul	r8,r8,0000002C
	mov	r9,00000000
	add	r3,r8,r10
	mov	r10,FFFFFFFF
	add	r8,r7,r10
	st.w	r3[28],r9
	st.w	r3[8],r9
	st.w	r3[12],r9
	st.w	r3[16],r9
	st.w	r3[24],r9
	st.w	r3[0],r8
	st.w	r3[-24],r10
	st.w	r3[20],r10
	st.w	r3[-32],r10
	ld.ub	r8,r7[0]
	mov	r9,00000009
	sub	r8,00000030
	cp.b	r8,r9
	brhi	0000EC24

l0000EBBA:
	mov	r10,r7

l0000EBBC:
	ld.ub	r11,r10[0]
	mov	r8,00000009
	sub	r10,FFFFFFFF
	sub	r9,r11,00000030
	cp.b	r9,r8
	brls	0000EBBC

l0000EBCE:
	mov	r8,00000024
	cp.b	r11,r8
	brne	0000EC24

l0000EBD6:
	mov	r12,r7
	mov	r10,00000000
	rjmp	0000EBF8

l0000EBDC:
	lddpc	r8,pc[180]
	cp.w	r10,r8
	brhi	0000EBE8

l0000EBE4:
	lsl	r11,r7,00000001

l0000EBE8:
	sub	r8,lr,00000030
	add	r10,r11,r8
	cp.w	r10,r11
	movcs	r10,FFFFFFFF

l0000EBF6:
	sub	r12,FFFFFFFF

l0000EBF8:
	ld.ub	lr,r12[0]
	mov	r8,00000009
	add	r7,r10,r10<<2
	sub	r9,lr,00000030
	mov	r11,FFFFFFFF
	cp.b	r9,r8
	brls	0000EBDC

l0000EC0E:
	cp.w	r10,00000000
	breq	0000F22C

l0000EC14:
	cp.w	r10,r11
	breq	0000F22C

l0000EC1A:
	add	r10,r11
	sub	r7,r12,FFFFFFFF
	stdsp	sp[16],r10
	rjmp	0000EC28

l0000EC24:
	mov	r9,FFFFFFFF
	stdsp	sp[16],r9

l0000EC28:
	sub	r12,r7,FFFFFFFF
	rjmp	0000EC32

l0000EC2E:
	sub	r12,FFFFFFFF
	st.w	r3[8],r8

l0000EC32:
	sub	r7,r12,00000001
	ld.ub	r9,r7[0]
	mov	r8,00000027
	cp.b	r9,r8
	brne	0000EC46

l0000EC40:
	ld.w	r8,r3[8]
	sbr	r8,+00000000
	rjmp	0000EC2E

l0000EC46:
	mov	r8,0000002D
	cp.b	r9,r8
	brne	0000EC54

l0000EC4E:
	ld.w	r8,r3[8]
	sbr	r8,+00000001
	rjmp	0000EC2E

l0000EC54:
	mov	r8,0000002B
	cp.b	r9,r8
	brne	0000EC62

l0000EC5C:
	ld.w	r8,r3[8]
	sbr	r8,+00000002
	rjmp	0000EC2E

l0000EC62:
	mov	r8,00000020
	cp.b	r9,r8
	brne	0000EC70

l0000EC6A:
	ld.w	r8,r3[8]
	sbr	r8,+00000003
	rjmp	0000EC2E

l0000EC70:
	mov	r8,00000023
	cp.b	r9,r8
	brne	0000EC7E

l0000EC78:
	ld.w	r8,r3[8]
	sbr	r8,+00000004
	rjmp	0000EC2E

l0000EC7E:
	mov	r8,00000030
	cp.b	r9,r8
	brne	0000EC94

l0000EC86:
	ld.w	r8,r3[8]
	sbr	r8,+00000005
	rjmp	0000EC2E
0000EC8C                                     FF FF 9B 5E             ...^
0000EC90 19 99 99 99                                     ....           

l0000EC94:
	mov	r8,0000002A
	cp.b	r9,r8
	brne	0000EDC0

l0000EC9E:
	st.w	r3[12],r7
	st.w	r3[16],r12
	ld.ub	r8,r12[0]
	lddsp	r10,sp[8]
	mov	r9,00000009
	cp.w	r10,00000000
	moveq	r10,00000001

l0000ECAE:
	stdsp	sp[8],r10
	sub	r8,00000030
	mov	r7,r12
	cp.b	r8,r9
	brhi	0000ED24

l0000ECBC:
	mov	r10,r12

l0000ECBE:
	ld.ub	r11,r10[0]
	mov	r8,00000009
	sub	r10,FFFFFFFF
	sub	r9,r11,00000030
	cp.b	r9,r8
	brls	0000ECBE

l0000ECD0:
	mov	r8,00000024
	cp.b	r11,r8
	brne	0000ED24

l0000ECD8:
	mov	r10,00000000
	rjmp	0000ECF8

l0000ECDC:
	lddpc	r8,pc[372]
	cp.w	r10,r8
	brhi	0000ECE8

l0000ECE4:
	lsl	r11,r7,00000001

l0000ECE8:
	sub	r8,lr,00000030
	add	r10,r11,r8
	cp.w	r10,r11
	movcs	r10,FFFFFFFF

l0000ECF6:
	sub	r12,FFFFFFFF

l0000ECF8:
	ld.ub	lr,r12[0]
	mov	r8,00000009
	add	r7,r10,r10<<2
	sub	r9,lr,00000030
	mov	r11,FFFFFFFF
	cp.b	r9,r8
	brls	0000ECDC

l0000ED0E:
	cp.w	r10,00000000
	breq	0000F22C

l0000ED14:
	cp.w	r10,r11
	breq	0000F22C

l0000ED1A:
	add	r8,r10,r11
	sub	r7,r12,FFFFFFFF
	st.w	r3[20],r8

l0000ED24:
	ld.w	r8,r3[20]
	cp.w	r8,FFFFFFFF
	brne	0000ED38

l0000ED2A:
	lddsp	r8,sp[0]
	st.w	r3[20],r8
	cp.w	r8,FFFFFFFF
	breq	0000F22C

l0000ED34:
	sub	r8,FFFFFFFF
	stdsp	sp[0],r8

l0000ED38:
	ld.w	r5,r3[20]
	cp.w	r5,r2
	brcs	0000ED92

l0000ED3E:
	lsl	r8,r2,00000001
	cp.w	r2,00000000
	movge	r2,r8

l0000ED48:
	movlt	r2,FFFFFFFF

l0000ED4C:
	cp.w	r2,r5
	brhi	0000ED5C

l0000ED52:
	sub	r2,r5,FFFFFFFF
	cp.w	r2,r5
	movcs	r2,FFFFFFFF

l0000ED5C:
	lddpc	r8,pc[248]
	cp.w	r2,r8
	brhi	0000F24A

l0000ED64:
	ld.w	r9,r1[4]
	add	r8,r2,r2<<1
	lsl	r12,r8,00000002
	cp.w	r9,00000000
	breq	0000ED7C

l0000ED72:
	mov	r11,r12
	mov	r12,r9
	mcall	r6[80]
	rjmp	0000ED80

l0000ED7C:
	mcall	r6[32]

l0000ED80:
	cp.w	r12,00000000
	breq	0000F24A

l0000ED86:
	st.w	r1[4],r12
	rjmp	0000ED92

l0000ED8A:
	mov	r8,00000000
	st.w	r9[r10<<2],r8
	st.w	r1[0],r11

l0000ED92:
	ld.w	r8,r1[0]
	ld.w	r9,r1[4]
	add	r10,r8,r8<<1
	sub	r11,r8,FFFFFFFF
	cp.w	r8,r5
	brls	0000ED8A

l0000EDA4:
	add	r8,r5,r5<<1
	add	r9,r9,r8<<2
	ld.w	r8,r9[0]
	cp.w	r8,00000000
	brne	0000EDB8

l0000EDB2:
	mov	r8,00000005
	st.w	r9[0],r8
	rjmp	0000EDF2

l0000EDB8:
	cp.w	r8,00000005
	breq	0000EDF2

l0000EDBC:
	br	0000F22C

l0000EDC0:
	sub	r9,00000030
	mov	r8,00000009
	cp.b	r9,r8
	brhi	0000EDF2

l0000EDCC:
	st.w	r3[12],r7
	rjmp	0000EDD2

l0000EDD0:
	sub	r7,FFFFFFFF

l0000EDD2:
	ld.ub	r8,r7[0]
	mov	r9,00000009
	sub	r8,00000030
	cp.b	r8,r9
	brls	0000EDD0

l0000EDE0:
	ld.w	r8,r3[12]
	st.w	r3[16],r7
	lddsp	r10,sp[8]
	sub	r8,r7,r8
	cp.w	r10,r8
	movcs	r10,r8

l0000EDF0:
	stdsp	sp[8],r10

l0000EDF2:
	ld.ub	r9,r7[0]
	mov	r8,0000002E
	cp.b	r9,r8
	brne	0000EF60

l0000EDFE:
	sub	r7,FFFFFFFF
	ld.ub	r9,r7[0]
	mov	r8,0000002A
	sub	r10,r7,00000001
	cp.b	r9,r8
	brne	0000EF3A

l0000EE10:
	sub	r7,FFFFFFFF
	st.w	r3[24],r10
	st.w	r3[28],r7
	ld.ub	r8,r7[0]
	lddsp	r10,sp[12]
	mov	r9,00000009
	cp.w	r10,00000001
	movls	r10,00000002

l0000EE22:
	stdsp	sp[12],r10
	sub	r8,00000030
	cp.b	r8,r9
	brhi	0000EEA0

l0000EE2E:
	mov	r10,r7

l0000EE30:
	ld.ub	r11,r10[0]
	mov	r8,00000009
	sub	r10,FFFFFFFF
	sub	r9,r11,00000030
	cp.b	r9,r8
	brls	0000EE30

l0000EE42:
	mov	r8,00000024
	cp.b	r11,r8
	brne	0000EEA0

l0000EE4A:
	mov	r12,r7
	mov	r10,00000000
	rjmp	0000EE74
0000EE50 19 99 99 99 15 55 55 55                         .....UUU       

l0000EE58:
	lddpc	r8,pc[340]
	cp.w	r10,r8
	brhi	0000EE64

l0000EE60:
	lsl	r11,r7,00000001

l0000EE64:
	sub	r8,lr,00000030
	add	r10,r11,r8
	cp.w	r10,r11
	movcs	r10,FFFFFFFF

l0000EE72:
	sub	r12,FFFFFFFF

l0000EE74:
	ld.ub	lr,r12[0]
	mov	r8,00000009
	add	r7,r10,r10<<2
	sub	r9,lr,00000030
	mov	r11,FFFFFFFF
	cp.b	r9,r8
	brls	0000EE58

l0000EE8A:
	cp.w	r10,00000000
	breq	0000F22C

l0000EE90:
	cp.w	r10,r11
	breq	0000F22C

l0000EE96:
	add	r8,r10,r11
	sub	r7,r12,FFFFFFFF
	st.w	r3[-32],r8

l0000EEA0:
	ld.w	r8,r3[32]
	cp.w	r8,FFFFFFFF
	brne	0000EEB4

l0000EEA6:
	lddsp	r8,sp[0]
	st.w	r3[-32],r8
	cp.w	r8,FFFFFFFF
	breq	0000F22C

l0000EEB0:
	sub	r8,FFFFFFFF
	stdsp	sp[0],r8

l0000EEB4:
	ld.w	r5,r3[32]
	cp.w	r5,r2
	brcs	0000EF0E

l0000EEBA:
	lsl	r8,r2,00000001
	cp.w	r2,00000000
	movge	r2,r8

l0000EEC4:
	movlt	r2,FFFFFFFF

l0000EEC8:
	cp.w	r2,r5
	brhi	0000EED8

l0000EECE:
	sub	r2,r5,FFFFFFFF
	cp.w	r2,r5
	movcs	r2,FFFFFFFF

l0000EED8:
	lddpc	r8,pc[216]
	cp.w	r2,r8
	brhi	0000F24A

l0000EEE0:
	ld.w	r9,r1[4]
	add	r8,r2,r2<<1
	lsl	r12,r8,00000002
	cp.w	r9,00000000
	breq	0000EEF8

l0000EEEE:
	mov	r11,r12
	mov	r12,r9
	mcall	r6[80]
	rjmp	0000EEFC

l0000EEF8:
	mcall	r6[32]

l0000EEFC:
	cp.w	r12,00000000
	breq	0000F24A

l0000EF02:
	st.w	r1[4],r12
	rjmp	0000EF0E

l0000EF06:
	mov	r8,00000000
	st.w	r9[r10<<2],r8
	st.w	r1[0],r11

l0000EF0E:
	ld.w	r8,r1[0]
	ld.w	r9,r1[4]
	add	r10,r8,r8<<1
	sub	r11,r8,FFFFFFFF
	cp.w	r8,r5
	brls	0000EF06

l0000EF20:
	add	r8,r5,r5<<1
	add	r9,r9,r8<<2
	ld.w	r8,r9[0]
	cp.w	r8,00000000
	brne	0000EF34

l0000EF2E:
	mov	r8,00000005
	st.w	r9[0],r8
	rjmp	0000EF60

l0000EF34:
	cp.w	r8,00000005
	breq	0000EF60

l0000EF38:
	rjmp	0000F22C

l0000EF3A:
	st.w	r3[24],r10
	rjmp	0000EF40

l0000EF3E:
	sub	r7,FFFFFFFF

l0000EF40:
	ld.ub	r8,r7[0]
	mov	r9,00000009
	sub	r8,00000030
	cp.b	r8,r9
	brls	0000EF3E

l0000EF4E:
	ld.w	r8,r3[24]
	st.w	r3[28],r7
	lddsp	r10,sp[12]
	sub	r8,r7,r8
	cp.w	r10,r8
	movcs	r10,r8

l0000EF5E:
	stdsp	sp[12],r10

l0000EF60:
	sub	r12,r7,FFFFFFFF
	mov	r10,00000000
	rjmp	0000EF6A

l0000EF68:
	sub	r12,FFFFFFFF

l0000EF6A:
	sub	r8,r12,00000001
	stdsp	sp[20],r8
	ld.ub	r5,r8[0]
	mov	r8,00000068
	cp.b	r5,r8
	brne	0000EF88

l0000EF7A:
	bfextu	r9,r10,+00000000,+00000001
	mov	r8,00000001
	lsl	r8,r8,r9
	or	r10,r8
	rjmp	0000EF68

l0000EF88:
	mov	r8,0000004C
	cp.b	r5,r8
	brne	0000EF94

l0000EF90:
	sbr	r10,+00000002
	rjmp	0000EF68

l0000EF94:
	mov	r8,0000006C
	cp.b	r5,r8
	brne	0000EFA0

l0000EF9C:
	sub	r10,FFFFFFF8
	rjmp	0000EF68

l0000EFA0:
	mov	r8,0000006A
	cp.b	r5,r8
	brne	0000EFB4

l0000EFA8:
	sub	r10,FFFFFFF0
	rjmp	0000EF68
0000EFAC                                     19 99 99 99             ....
0000EFB0 15 55 55 55                                     .UUU           

l0000EFB4:
	mov	r8,0000007A
	cp.b	r5,r8
	breq	0000EF68

l0000EFBC:
	mov	r8,0000005A
	cp.b	r5,r8
	breq	0000EF68

l0000EFC4:
	mov	r8,00000074
	cp.b	r5,r8
	breq	0000EF68

l0000EFCC:
	mov	r8,00000025
	cp.b	r5,r8
	breq	0000F1D8

l0000EFD6:
	mov	r8,00000041
	cp.b	r5,r8
	breq	0000F0DA

l0000EFDE:
	mov	r8,00000043
	cp.b	r5,r8
	breq	0000F0F6

l0000EFE8:
	mov	r8,00000045
	cp.b	r5,r8
	brcs	0000F22C

l0000EFF2:
	mov	r8,00000047
	cp.b	r5,r8
	brls	0000F0DA

l0000EFFC:
	mov	r8,00000053
	cp.b	r5,r8
	breq	0000F074

l0000F004:
	mov	r8,00000058
	cp.b	r5,r8
	breq	0000F0AC

l0000F00C:
	mov	r8,00000061
	cp.b	r5,r8
	breq	0000F0DA

l0000F014:
	mov	r8,00000063
	cp.b	r5,r8
	breq	0000F0EA

l0000F01C:
	mov	r8,00000064
	cp.b	r5,r8
	breq	0000F07E

l0000F024:
	mov	r8,00000065
	cp.b	r5,r8
	brcs	0000F22C

l0000F02E:
	mov	r8,00000067
	cp.b	r5,r8
	brls	0000F0DA

l0000F038:
	mov	r8,00000069
	cp.b	r5,r8
	breq	0000F07E

l0000F040:
	mov	r8,0000006E
	cp.b	r5,r8
	breq	0000F108

l0000F048:
	mov	r8,0000006F
	cp.b	r5,r8
	breq	0000F0AC

l0000F050:
	mov	r8,00000070
	cp.b	r5,r8
	breq	0000F07A

l0000F058:
	mov	r8,00000073
	cp.b	r5,r8
	breq	0000F0FC

l0000F060:
	mov	r8,00000075
	cp.b	r5,r8
	breq	0000F0AC

l0000F068:
	mov	r8,00000078
	cp.b	r5,r8
	brne	0000F22C

l0000F072:
	rjmp	0000F0AC

l0000F074:
	mov	r5,00000073
	mov	r4,00000010
	rjmp	0000F144

l0000F07A:
	mov	r4,00000011
	rjmp	0000F144

l0000F07E:
	cp.w	r10,0000000F
	brgt	0000F136

l0000F084:
	bld	r10,+00000002
	breq	0000F136

l0000F08A:
	cp.w	r10,00000007
	brle	0000F094

l0000F090:
	mov	r4,00000007
	rjmp	0000F144

l0000F094:
	bld	r10,+00000001
	brne	0000F09E

l0000F09A:
	mov	r4,00000001
	rjmp	0000F144

l0000F09E:
	bfextu	r8,r10,+00000000,+00000001
	moveq	r4,00000005

l0000F0A6:
	movne	r4,00000003

l0000F0AA:
	rjmp	0000F144

l0000F0AC:
	cp.w	r10,0000000F
	brgt	0000F142

l0000F0B2:
	bld	r10,+00000002
	breq	0000F142

l0000F0B8:
	cp.w	r10,00000007
	brle	0000F0C2

l0000F0BE:
	mov	r4,00000008
	rjmp	0000F144

l0000F0C2:
	bld	r10,+00000001
	brne	0000F0CC

l0000F0C8:
	mov	r4,00000002
	rjmp	0000F144

l0000F0CC:
	bfextu	r8,r10,+00000000,+00000001
	moveq	r4,00000006

l0000F0D4:
	movne	r4,00000004

l0000F0D8:
	rjmp	0000F144

l0000F0DA:
	cp.w	r10,0000000F
	brgt	0000F13E

l0000F0E0:
	bld	r10,+00000002
	breq	0000F13E

l0000F0E6:
	mov	r4,0000000B
	rjmp	0000F144

l0000F0EA:
	cp.w	r10,00000008
	movlt	r4,0000000D

l0000F0F0:
	movge	r4,0000000E

l0000F0F4:
	rjmp	0000F144

l0000F0F6:
	mov	r5,00000063
	mov	r4,0000000E
	rjmp	0000F144

l0000F0FC:
	cp.w	r10,00000008
	movlt	r4,0000000F

l0000F102:
	movge	r4,00000010

l0000F106:
	rjmp	0000F144

l0000F108:
	cp.w	r10,0000000F
	brgt	0000F13A

l0000F10E:
	bld	r10,+00000002
	breq	0000F13A

l0000F114:
	cp.w	r10,00000007
	brle	0000F11E

l0000F11A:
	mov	r4,00000015
	rjmp	0000F144

l0000F11E:
	bld	r10,+00000001
	brne	0000F128

l0000F124:
	mov	r4,00000012
	rjmp	0000F144

l0000F128:
	bfextu	r8,r10,+00000000,+00000001
	moveq	r4,00000014

l0000F130:
	movne	r4,00000013

l0000F134:
	rjmp	0000F144

l0000F136:
	mov	r4,00000009
	rjmp	0000F144

l0000F13A:
	mov	r4,00000016
	rjmp	0000F144

l0000F13E:
	mov	r4,0000000C
	rjmp	0000F144

l0000F142:
	mov	r4,0000000A

l0000F144:
	lddsp	r10,sp[16]
	st.w	r3[-24],r10
	cp.w	r10,FFFFFFFF
	brne	0000F158

l0000F14C:
	lddsp	r9,sp[0]
	st.w	r3[-24],r9
	cp.w	r9,FFFFFFFF
	breq	0000F22C

l0000F154:
	sub	r9,FFFFFFFF
	stdsp	sp[0],r9

l0000F158:
	ld.w	r7,r3[40]
	cp.w	r7,r2
	brcs	0000F1B0

l0000F15E:
	lsl	r8,r2,00000001
	cp.w	r2,00000000
	movge	r2,r8

l0000F168:
	movlt	r2,FFFFFFFF

l0000F16C:
	cp.w	r2,r7
	brhi	0000F17C

l0000F172:
	sub	r2,r7,FFFFFFFF
	cp.w	r2,r7
	movcs	r2,FFFFFFFF

l0000F17C:
	lddpc	r8,pc[244]
	cp.w	r2,r8
	brhi	0000F24A

l0000F184:
	ld.w	r9,r1[4]
	add	r8,r2,r2<<1
	lsl	r12,r8,00000002
	cp.w	r9,00000000
	breq	0000F19C

l0000F192:
	mov	r11,r12
	mov	r12,r9
	mcall	r6[80]
	rjmp	0000F1A0

l0000F19C:
	mcall	r6[32]

l0000F1A0:
	cp.w	r12,00000000
	breq	0000F24A

l0000F1A4:
	st.w	r1[4],r12
	rjmp	0000F1B0

l0000F1A8:
	mov	r8,00000000
	st.w	r9[r10<<2],r8
	st.w	r1[0],r11

l0000F1B0:
	ld.w	r8,r1[0]
	ld.w	r9,r1[4]
	add	r10,r8,r8<<1
	sub	r11,r8,FFFFFFFF
	cp.w	r8,r7
	brls	0000F1A8

l0000F1C2:
	add	r8,r7,r7<<1
	add	r9,r9,r8<<2
	ld.w	r8,r9[0]
	cp.w	r8,00000000
	brne	0000F1D4

l0000F1D0:
	st.w	r9[0],r4
	rjmp	0000F1D8

l0000F1D4:
	cp.w	r8,r4
	brne	0000F22C

l0000F1D8:
	lddsp	r7,sp[20]
	st.b	r3[36],r5
	sub	r7,FFFFFFFF
	st.w	r3[4],r7
	ld.w	r8,r0[0]
	sub	r8,FFFFFFFF
	st.w	r0[0],r8
	lddsp	r10,sp[4]
	cp.w	r8,r10
	brcs	0000F20C

l0000F1EE:
	cp.w	r10,00000000
	brlt	0000F24A

l0000F1F2:
	lsl	r10,+00000001
	lddpc	r8,pc[128]
	stdsp	sp[4],r10
	cp.w	r10,r8
	brhi	0000F24A

l0000F1FE:
	mul	r11,r10,0000002C
	ld.w	r12,r0[4]
	mcall	r6[80]
	breq	0000F24A

l0000F20A:
	st.w	r0[4],r12

l0000F20C:
	ld.ub	r12,r7[0]
	cp.w	r12,00000000
	brne	0000EB7A

l0000F214:
	ld.w	r8,r0[0]
	ld.w	r9,r0[4]
	mul	r8,r8,0000002C
	mov	r10,r12
	st.w	r8[r9],r7
	lddsp	r9,sp[12]
	st.w	r0[12],r9
	lddsp	r8,sp[8]
	st.w	r0[8],r8
	rjmp	0000F268

l0000F22C:
	ld.w	r12,r1[4]
	cp.w	r12,00000000
	breq	0000F236

l0000F232:
	mcall	r6[12]

l0000F236:
	ld.w	r12,r0[4]
	cp.w	r12,00000000
	breq	0000F240

l0000F23C:
	mcall	r6[12]

l0000F240:
	mcall	r6[28]
	mov	r10,FFFFFFFF
	mov	r8,00000016
	rjmp	0000F266

l0000F24A:
	ld.w	r12,r1[4]
	cp.w	r12,00000000
	breq	0000F254

l0000F250:
	mcall	r6[12]

l0000F254:
	ld.w	r12,r0[4]
	cp.w	r12,00000000
	breq	0000F25E

l0000F25A:
	mcall	r6[12]

l0000F25E:
	mcall	r6[28]
	mov	r10,FFFFFFFF
	mov	r8,0000000C

l0000F266:
	st.w	r12[0],r8

l0000F268:
	mov	r12,r10
	sub	sp,FFFFFFE8
	popm	r0-r3,r4-r7,pc
0000F26E                                           D7 03               ..
0000F270 15 55 55 55 05 D1 74 5D                         .UUU..t]       

;; fn0000F278: 0000F278
;;   Called from:
;;     0000D710 (in fn0000D220)
;;     0000D9FA (in fn0000D220)
fn0000F278 proc
	pushm	r4-r7,lr
	sub	sp,00000008
	lddpc	r6,pc[80]
	rsub	r6,pc
	mov	r8,r10
	mov	r9,r11
	mov	r4,r10
	mov	r5,r11
	rcall	00010CFC
	brne	0000F2C4

l0000F28E:
	mov	r8,00000000
	mov	r9,00000000
	mov	r10,r4
	mov	r11,r5
	rcall	0000F976
	breq	0000F2A0

l0000F29C:
	mov	r12,00000001
	rjmp	0000F2C6

l0000F2A0:
	mov	r8,00000000
	mov	r9,00000000
	mov	r10,r4
	mov	r11,r5
	rcall	0000F8EC
	breq	0000F2C4

l0000F2AE:
	sub	r11,sp,FFFFFFF8
	st.d	--r11,r5:r4
	mov	r11,sp
	ld.w	r12,r6[604]
	mov	r10,00000008
	mcall	r6[168]
	srne	r12
	rjmp	0000F2C6

l0000F2C4:
	mov	r12,00000000

l0000F2C6:
	sub	sp,FFFFFFF8
	popm	r4-r7,pc
0000F2CA                               D7 03 FF FF A2 8E           ......

;; __avr32_f64_mul: 0000F2D0
;;   Called from:
;;     0000957A (in fn000093B8)
;;     000095C4 (in fn000095B2)
;;     000095D8 (in fn000095D6)
;;     00009654 (in fn000095D6)
;;     0000D83A (in fn0000D220)
;;     0000D884 (in fn0000D220)
;;     0000D90C (in fn0000D220)
;;     0000DB76 (in fn0000D220)
;;     0000DB9A (in fn0000D220)
;;     0000DC22 (in fn0000D220)
;;     0000E6D4 (in fn0000E684)
;;     0000E6FE (in fn0000E684)
;;     0000E70E (in fn0000E684)
;;     0000E73C (in fn0000E684)
;;     0000E778 (in fn0000E684)
;;     0000E788 (in fn0000E684)
;;     0000E7CA (in fn0000E684)
;;     0000E844 (in fn0000E684)
;;     0000E8B8 (in fn0000E868)
;;     0000E8E2 (in fn0000E868)
;;     0000E8F2 (in fn0000E868)
;;     0000E920 (in fn0000E868)
;;     0000E95C (in fn0000E868)
;;     0000E96C (in fn0000E868)
;;     0000E9AE (in fn0000E868)
;;     0000EA28 (in fn0000E868)
;;     000101E0 (in fn000101CC)
__avr32_f64_mul proc
	or	r12,r10,r11<<1
	breq	0000F48E

l0000F2D8:
	pushm	r4-r7,lr
	eor	lr,r11,r9
	bfextu	r7,r11,+00000014,+0000000B
	mov	r5,00000001
	breq	0000F36A

l0000F2E6:
	lsl	r11,+0000000A
	or	r11,r11,r10>>22
	lsl	r10,+0000000A
	bfexts	r11,r5,+0000001E,+00000002

l0000F2F2:
	bfextu	r6,r9,+00000014,+0000000B
	breq	0000F3AE

l0000F2F8:
	lsl	r8,+00000001
	rol	r9
	bfexts	r9,r5,+00000015,+0000000B

l0000F300:
	cp.w	r7,000007FF
	breq	0000F3F2

l0000F306:
	cp.w	r6,000007FF
	breq	0000F3F2

l0000F30C:
	add	r12,r7,r6
	sub	r12,000003FE
	mulu.d	r4,r11,r8
	macu.d	r4,r10,r9
	mulu.d	r6,r10,r8
	mulu.d	r10,r11,r9
	add	r7,r4
	adc	r10,r10,r5
	acr	r11
	bld	r11,+00000014
	breq	0000F33A

l0000F332:
	lsl	r7,+00000001
	rol	r10
	rol	r11
	sub	r12,00000001

l0000F33A:
	cp.w	r12,00000000
	brle	0000F41A

l0000F340:
	cp.w	r12,000007FF
	brge	0000F47C

l0000F348:
	bfexts	r11,r12,+00000014,+0000000B

l0000F34C:
	or	r6,r6,r10<<31
	or	r7,r7,r6>>1
	eorh	r7,8000
	satu	r7,+00000001
	add	r10,r7
	acr	r11
	bld	lr,+0000001F
	bst	r11,+0000001F
	popm	r4-r7,pc

l0000F36A:
	andh	r11,000F
	clz	r12,r10
	clz	r6,r11
	subcs	r12,FFFFFFE1

l0000F37A:
	movcs	r6,r12

l0000F37E:
	subcc	r6,00000001

l0000F382:
	cp.w	r6,00000020
	brge	0000F3A0

l0000F388:
	rsub	r12,r6,00000020
	lsl	r11,r11,r6
	lsr	r12,r10,r12
	or	r11,r12
	lsl	r10,r10,r6
	sub	r6,0000000B
	sub	r7,r6
	rjmp	0000F2F2

l0000F3A0:
	lsl	r11,r10,r6
	breq	0000F46C

l0000F3A6:
	mov	r10,00000000
	sub	r6,0000000B
	sub	r7,r6
	rjmp	0000F2F2

l0000F3AE:
	andh	r9,000F
	clz	r12,r8
	clz	r5,r9
	subcs	r12,FFFFFFEA

l0000F3BE:
	movcs	r5,r12

l0000F3C2:
	subcc	r5,0000000A

l0000F3C6:
	cp.w	r5,00000020
	brge	0000F3E4

l0000F3CC:
	rsub	r12,r5,00000020
	lsl	r9,r9,r5
	lsr	r12,r8,r12
	or	r9,r12
	lsl	r8,r8,r5
	sub	r5,00000002
	sub	r6,r5
	rjmp	0000F300

l0000F3E4:
	lsl	r9,r8,r5
	breq	0000F46C

l0000F3EA:
	mov	r8,00000000
	sub	r5,00000002
	sub	r6,r5
	rjmp	0000F300

l0000F3F2:
	andh	r9,000F
	andh	r11,000F
	or	r11,r10
	or	r9,r8
	cp.w	r7,000007FF
	brne	0000F414

l0000F404:
	cp.w	r11,00000000
	brne	0000F476

l0000F408:
	cp.w	r6,000007FF
	brne	0000F47C

l0000F40E:
	cp.w	r9,00000000
	breq	0000F47C

l0000F412:
	rjmp	0000F476

l0000F414:
	cp.w	r9,00000000
	breq	0000F47C

l0000F418:
	rjmp	0000F476

l0000F41A:
	neg	r12
	sub	r12,FFFFFFFF
	satu	r12,+00000006
	cp.w	r12,00000020
	brge	0000F448

l0000F428:
	rsub	r8,r12,00000020
	or	r6,r7
	lsr	r7,r7,r12
	lsl	r9,r10,r8
	or	r7,r9
	lsr	r10,r10,r12
	lsl	r9,r11,r8
	or	r10,r9
	lsr	r11,r11,r12
	rjmp	0000F34C

l0000F448:
	rsub	r8,r12,00000020
	moveq	r9,00000000

l0000F450:
	breq	0000F456

l0000F452:
	lsl	r9,r11,r8

l0000F456:
	or	r6,r7
	or	r6,r6,r10<<1
	lsr	r10,r10,r12
	or	r7,r9,r10
	lsr	r10,r11,r12
	mov	r11,00000000
	rjmp	0000F34C

l0000F46C:
	mov	r11,lr
	andh	r11,8000,COH
	mov	r10,00000000
	popm	r4-r7,pc

l0000F476:
	mov	r11,FFFFFFFF
	mov	r10,FFFFFFFF
	popm	r4-r7,pc

l0000F47C:
	mov	r11,00000000
	orh	r11,FFF0
	bld	lr,+0000001F
	bst	r11,+0000001F
	mov	r10,00000000
	popm	r4-r7,pc

l0000F48E:
	eor	r11,r11,r9
	andh	r11,8000,COH
	bfextu	r12,r9,+00000014,+0000000B
	cp.w	r12,000007FF
	retne	r12

l0000F4A0:
	mov	r10,FFFFFFFF
	mov	r11,FFFFFFFF
	ret	r12
0000F4A6                   A1 79 F5 B8 00 00 5E FC D7 03       .y....^...

l0000F4B0:
	eorh	r9,8000

;; __avr32_f64_sub: 0000F4B4
;;   Called from:
;;     0000D7D0 (in fn0000D220)
;;     0000D81E (in fn0000D220)
;;     0000D8D4 (in fn0000D220)
;;     0000D94C (in fn0000D220)
;;     0000DB0C (in fn0000D220)
;;     0000DB5A (in fn0000D220)
;;     0000DBEA (in fn0000D220)
;;     0000DC62 (in fn0000D220)
;;     0000F4B0 (in __avr32_f64_add)
__avr32_f64_sub proc
	eor	r12,r11,r9
	brmi	0000F64C

l0000F4BC:
	stm	--sp,r5-r7,lr
	mov	r12,r11
	andh	r12,8000,COH
	cbr	r11,+0000001F
	cbr	r9,+0000001F
	cp.w	r10,r8
	cpc	r11,r9
	brcc	0000F4E2

l0000F4D2:
	mov	r7,r11
	mov	r11,r9
	mov	r9,r7
	mov	r7,r10
	mov	r10,r8
	mov	r8,r7
	eorh	r12,8000

l0000F4E2:
	lsr	r7,r11,00000014
	lsl	r11,+0000000B
	or	r11,r11,r10>>21
	lsl	r10,+0000000B
	sbr	r11,+0000001F
	lsr	r6,r9,00000014
	breq	0000F57E

l0000F4F6:
	lsl	r9,+0000000B
	or	r9,r9,r8>>21
	lsl	r8,+0000000B
	sbr	r9,+0000001F

l0000F500:
	cp.w	r7,000007FF
	breq	0000F5A4

l0000F506:
	rsub	r6,r7
	breq	0000F52C

l0000F50A:
	rsub	r5,r6,00000020
	cp.w	r6,00000020
	brcc	0000F60C

l0000F514:
	lsl	lr,r8,r5
	lsl	r5,r9,r5
	lsr	r8,r8,r6
	lsr	r9,r9,r6
	or	r8,r5
	cp.w	lr,00000000
	srne	lr
	or	r8,lr

l0000F52C:
	sub	r10,r8
	sbc	r11,r11,r9
	clz	r6,r11
	breq	0000F552

l0000F538:
	brcs	0000F62A

l0000F53A:
	rsub	lr,r6,00000020
	lsl	r11,r11,r6
	lsr	lr,r10,lr
	or	r11,lr
	lsl	r10,r10,r6
	sub	r7,r6
	brle	0000F5C2

l0000F552:
	lsl	r9,r10,00000015
	lsr	r10,+0000000B
	or	r10,r10,r11<<21
	lsr	r11,+0000000B
	bfexts	r11,r7,+00000014,+0000000B
	or	r11,r12
	mov	r7,00000000
	orh	r7,8000
	bld	r10,+00000000
	subne	r7,FFFFFFFF

l0000F572:
	cp.w	r9,r7
	srcc	r9
	add	r10,r9
	acr	r11
	ldm	sp++,r5-r7,pc

l0000F57E:
	lsl	r9,+0000000B
	or	r9,r9,r8>>21
	lsl	r8,+0000000B
	or	lr,r9,r8
	movne	r6,00000001

l0000F58E:
	rsub	lr,r7,00000000
	moveq	r7,00000001

l0000F596:
	bst	r11,+0000001F
	or	lr,r11,r10
	moveq	r7,00000000

l0000F5A2:
	rjmp	0000F500

l0000F5A4:
	cbr	r11,+0000001F
	or	lr,r11,r10
	brne	0000F5BA

l0000F5AC:
	cp.w	r6,000007FF
	breq	0000F5BA

l0000F5B2:
	or	r11,r12,r7<<20
	ldm	sp++,r5-r7,pc

l0000F5BA:
	mov	r10,FFFFFFFF
	mov	r11,FFFFFFFF
	ldm	sp++,r5-r7,pc

l0000F5C2:
	neg	r7
	sub	r7,FFFFFFFF
	satu	r7,+00000006
	cp.w	r7,00000020
	brge	0000F5F0

l0000F5D0:
	rsub	r8,r7,00000020
	lsl	r9,r10,r8
	srne	r6
	lsr	r10,r10,r7
	or	r10,r6
	lsl	r9,r11,r8
	or	r10,r10,r9
	lsr	r11,r10,r7
	mov	r7,00000000
	rjmp	0000F552

l0000F5F0:
	rsub	r8,r7,00000040
	lsl	r9,r11,r8
	or	r9,r10
	srne	r6
	lsr	r10,r11,r7
	or	r10,r6
	mov	r11,00000000
	mov	r7,00000000
	rjmp	0000F552
0000F608                         E3 CD 80 E0                     ....   

l0000F60C:
	satu	r6,+00000006
	moveq	lr,r8

l0000F614:
	breq	0000F61C

l0000F616:
	lsl	lr,r9,r5
	or	lr,r8

l0000F61C:
	lsr	r8,r9,r6
	mov	r9,00000000
	cp.w	lr,00000000
	srne	lr
	or	r8,lr
	rjmp	0000F52C

l0000F62A:
	clz	r6,r10
	movcs	r7,00000000

l0000F632:
	movcs	r6,00000000

l0000F636:
	movcs	r12,00000000

l0000F63A:
	subcc	r6,FFFFFFE0

l0000F63E:
	lsl	r11,r10,r6
	mov	r10,00000000
	sub	r7,r6
	brle	0000F5C2

l0000F64A:
	rjmp	0000F552

l0000F64C:
	eorh	r9,8000

;; __avr32_f64_add: 0000F650
;;   Called from:
;;     0000D77A (in fn0000D220)
;;     0000D89A (in fn0000D220)
;;     0000DA6C (in fn0000D220)
;;     0000DBB0 (in fn0000D220)
;;     0000F64C (in __avr32_f64_sub)
;;     000101F6 (in fn000101CC)
__avr32_f64_add proc
	eor	r12,r11,r9
	brmi	0000F4B0

l0000F658:
	stm	--sp,r5-r7,lr
	mov	r12,r11
	andh	r12,8000,COH
	cbr	r11,+0000001F
	cbr	r9,+0000001F
	cp.w	r11,r9
	brcc	0000F676

l0000F66A:
	mov	r7,r11
	mov	r11,r9
	mov	r9,r7
	mov	r7,r10
	mov	r10,r8
	mov	r8,r7

l0000F676:
	mov	lr,00000000
	bfextu	r7,r11,+00000014,+0000000B
	bfextu	r11,r11,+00000000,+00000014
	sbr	r11,+00000014
	bfextu	r6,r9,+00000014,+0000000B
	breq	0000F744

l0000F688:
	bfextu	r9,r9,+00000000,+00000014
	sbr	r9,+00000014

l0000F68E:
	cp.w	r7,000007FF
	breq	0000F6DC

l0000F694:
	rsub	r6,r7
	breq	0000F6B4

l0000F698:
	rsub	r5,r6,00000020
	cp.w	r6,00000020
	brcc	0000F70A

l0000F6A2:
	lsl	lr,r8,r5
	lsl	r5,r9,r5
	lsr	r8,r8,r6
	lsr	r9,r9,r6
	or	r8,r5

l0000F6B4:
	add	r10,r8
	adc	r11,r11,r9
	bld	r11,+00000015
	breq	0000F726

l0000F6C0:
	bfexts	r11,r7,+00000014,+0000000B
	or	r11,r12
	bfextu	r12,r10,+00000000,+00000001
	or	lr,r12
	eorh	lr,8000
	satu	lr,+00000001
	add	r10,lr
	acr	r11
	ldm	sp++,r5-r7,pc

l0000F6DC:
	cbr	r11,+00000014
	or	lr,r11,r10
	brne	0000F702

l0000F6E4:
	cp.w	r6,000007FF
	breq	0000F6EE

l0000F6EA:
	ldm	sp++,r5-r7,pc

l0000F6EE:
	cbr	r9,+00000014
	or	lr,r9,r8
	brne	0000F702

l0000F6F6:
	mov	r10,00000000
	mov	r11,00000000
	orh	r11,7FF0
	ldm	sp++,r5-r7,pc

l0000F702:
	mov	r10,FFFFFFFF
	mov	r11,FFFFFFFF
	ldm	sp++,r5-r7,pc

l0000F70A:
	satu	r6,+00000006
	moveq	lr,r8

l0000F712:
	breq	0000F71E

l0000F714:
	lsl	lr,r9,r5
	cp.w	r8,00000000
	srne	r8
	or	lr,r8

l0000F71E:
	lsr	r8,r9,r6
	mov	r9,00000000
	rjmp	0000F6B4

l0000F726:
	or	lr,lr,lr<<1
	lsr	r11,+00000001
	ror	r10
	ror	lr
	sub	r7,FFFFFFFF
	cp.w	r7,000007FF
	moveq	r10,00000000

l0000F73A:
	moveq	r11,00000000

l0000F73E:
	moveq	lr,00000000

l0000F742:
	rjmp	0000F6C0

l0000F744:
	mov	r6,00000001
	cp.w	r7,00000000
	brne	0000F68E

l0000F74A:
	cbr	r11,+00000014
	add	r10,r8
	adc	r11,r11,r9
	or	r11,r12
	ldm	sp++,r5-r7,pc
0000F758                         A1 79 F5 B8 00 00 5E FC         .y....^.

;; __avr32_f64_to_u32: 0000F760
__avr32_f64_to_u32 proc
	cp.w	r11,00000000
	retmi	sp

;; __avr32_f64_to_s32: 0000F764
;;   Called from:
;;     0000D7BC (in fn0000D220)
;;     0000D8BE (in fn0000D220)
;;     0000D916 (in fn0000D220)
;;     0000DAF8 (in fn0000D220)
;;     0000DBD4 (in fn0000D220)
;;     0000DC2C (in fn0000D220)
;;     0000F762 (in __avr32_f64_to_u32)
__avr32_f64_to_s32 proc
	lsl	r12,r11,00000001
	lsr	r12,+00000015
	sub	r12,000003FF
	retcs	sp

l0000F770:
	rsub	r12,r12,0000001F
	mov	r9,r11
	lsl	r11,+0000000B
	sbr	r11,+0000001F
	or	r11,r11,r10>>21
	lsr	r11,r11,r12
	lsl	r9,+00000001
	retcc	r11

l0000F786:
	neg	r11
	ret	r11
0000F78A                               A1 79 F5 B8 00 00           .y....
0000F790 5E FC                                           ^.             

;; fn0000F792: 0000F792
;;   Called from:
;;     00009266 (in fn00009248)
fn0000F792 proc
	cp.w	r11,00000000
	movmi	r10,00000000

l0000F798:
	movmi	r11,00000000

l0000F79C:
	retmi	r11

l0000F79E:
	lsl	r9,r11,00000001
	lsr	r9,+00000015
	sub	r9,000003FF
	movcs	r10,00000000

l0000F7AC:
	movcs	r11,00000000

l0000F7B0:
	retcs	r11

l0000F7B2:
	mov	r8,r11
	lsl	r11,+0000000B
	sbr	r11,+0000001F
	or	r11,r11,r10>>21
	lsl	r10,+0000000B
	rsub	r9,r9,0000003F
	breq	0000F7E6

l0000F7C4:
	cp.w	r9,00000020
	brcc	0000F7E0

l0000F7CA:
	mov	r12,r11
	lsr	r10,r10,r9
	lsr	r11,r11,r9
	rsub	r9,r9,00000020
	lsl	r12,r12,r9
	or	r10,r12
	rjmp	0000F7E6

l0000F7E0:
	lsr	r10,r11,r9
	mov	r11,00000000

l0000F7E6:
	lsl	r8,+00000001
	retcc	r11

l0000F7EA:
	neg	r11
	neg	r10
	scr	r11
	ret	r11
0000F7F2       A1 79 F5 B8 00 00 5E FC                     .y....^.     

;; __avr32_u32_to_f64: 0000F7FA
;;   Called from:
;;     000095B4 (in fn000095B2)
;;     000101D8 (in fn000101CC)
;;     000101EA (in fn000101CC)
__avr32_u32_to_f64 proc
	sub	r11,r12,00000000
	mov	r12,00000000
	rjmp	0000F806

;; __avr32_s32_to_f64: 0000F802
;;   Called from:
;;     0000D7C4 (in fn0000D220)
;;     0000D8C6 (in fn0000D220)
;;     0000D93E (in fn0000D220)
;;     0000DB00 (in fn0000D220)
;;     0000DBDC (in fn0000D220)
;;     0000DC54 (in fn0000D220)
__avr32_s32_to_f64 proc
	mov	r11,r12
	abs	r11

;; fn0000F806: 0000F806
;;   Called from:
;;     0000F800 (in __avr32_u32_to_f64)
;;     0000F804 (in __avr32_s32_to_f64)
fn0000F806 proc
	mov	r10,00000000
	reteq	r11

;; fn0000F80A: 0000F80A
;;   Called from:
;;     0000F808 (in fn0000F806)
;;     0000F808 (in fn0000F806)
fn0000F80A proc
	pushm	lr
	mov	r9,0000041E
	clz	r8,r11
	breq	0000F842

l0000F816:
	brcs	0000F82E

l0000F818:
	rsub	lr,r8,00000020
	lsl	r11,r11,r8
	lsr	lr,r10,lr
	or	r11,lr
	lsl	r10,r10,r8
	sub	r9,r8
	rjmp	0000F842

l0000F82E:
	clz	r8,r10
	movcs	r8,00000000

l0000F836:
	subcc	r8,FFFFFFE0

l0000F83A:
	lsl	r11,r10,r8
	mov	r10,00000000
	sub	r9,r8

l0000F842:
	cp.w	r9,00000000
	brgt	0000F8A4

l0000F848:
	neg	r9
	sub	r9,FFFFFFFF
	cp.w	r9,00000036
	brcs	0000F858

l0000F852:
	mov	r11,00000000
	mov	r10,00000000
	rjmp	0000F8A2

l0000F858:
	sub	r9,FFFFFFF6
	rsub	r8,r9,00000020
	cp.w	r9,00000020
	brcc	0000F878

l0000F864:
	lsl	lr,r10,r8
	lsl	r8,r11,r8
	lsr	r10,r10,r9
	lsr	r11,r11,r9
	or	r11,r8
	rjmp	0000F886

l0000F878:
	lsl	lr,r11,r8
	or	lr,r10
	mov	r10,r11
	mov	r11,00000000
	lsr	r10,r10,r9

l0000F886:
	bld	r10,+00000000
	brcc	0000F89C

l0000F88C:
	tst	lr,lr
	brne	0000F896

l0000F890:
	bld	r10,+00000001
	brcc	0000F89C

l0000F896:
	sub	r10,FFFFFFFF
	subcc	r11,FFFFFFFF

l0000F89C:
	rol	r12
	ror	r11
	ror	r10

l0000F8A2:
	popm	pc

l0000F8A4:
	mov	r8,000003FF
	bld	r10,+0000000B
	subeq	r8,FFFFFFFF

l0000F8B0:
	add	r10,r8
	acr	r11
	subcs	r9,FFFFFFFE

l0000F8B8:
	cp.w	r9,000007FF
	brlt	0000F8C8

l0000F8BE:
	mov	r10,00000000
	mov	r11,00000000
	orh	r11,FFE0
	rjmp	0000F8DE

l0000F8C8:
	bld	r11,+0000001F
	subne	r9,00000001

l0000F8D0:
	lsr	r10,+0000000B
	or	r10,r10,r11<<21
	lsl	r11,+00000001
	lsr	r11,+0000000B
	or	r11,r11,r9<<21

l0000F8DE:
	lsl	r12,+00000001
	ror	r11
	popm	pc
0000F8E4             A1 79 F5 B8 00 00 5E FC                 .y....^.   

;; __avr32_f64_cmp_eq: 0000F8EC
;;   Called from:
;;     00009280 (in fn00009248)
;;     0000D782 (in fn0000D220)
;;     0000D84C (in fn0000D220)
;;     0000DA74 (in fn0000D220)
;;     0000DB88 (in fn0000D220)
;;     0000F2A8 (in fn0000F278)
__avr32_f64_cmp_eq proc
	cp.w	r10,r8
	cpc	r11,r9
	breq	0000F902

l0000F8F4:
	lsl	r11,+00000001
	lsl	r9,+00000001
	or	r11,r10
	or	r11,r9
	or	r11,r8
	reteq	pc

l0000F900:
	ret	sp

l0000F902:
	lsl	r11,+00000001
	mov	r12,00000000
	orh	r12,FFE0
	cp.w	r10,00000000
	cpc	r11,r12
	retls	pc

l0000F912:
	ret	sp
0000F914             A1 79 F5 B8 00 00 5E FC                 .y....^.   

;; __avr32_f64_cmp_ge: 0000F91C
;;   Called from:
;;     000095E4 (in fn000095D6)
;;     0000D7EE (in fn0000D220)
;;     0000DB2A (in fn0000D220)
;;     0000E698 (in fn0000E684)
;;     0000E6BA (in fn0000E684)
;;     0000E74A (in fn0000E684)
;;     0000E7D8 (in fn0000E684)
;;     0000E82C (in fn0000E684)
;;     0000E87C (in fn0000E868)
;;     0000E89E (in fn0000E868)
;;     0000E92E (in fn0000E868)
;;     0000E9BC (in fn0000E868)
;;     0000EA10 (in fn0000E868)
__avr32_f64_cmp_ge proc
	lsl	r11,+00000001
	srcs	r12
	subfeq	r10,00000000

l0000F924:
	breq	0000F96A

l0000F926:
	lsl	r9,+00000001
	rol	r12
	pushm	lr
	mov	lr,00000000
	orh	lr,FFE0
	cp.w	r10,00000000
	cpc	r11,lr
	brhi	0000F968

l0000F93C:
	cp.w	r8,00000000
	cpc	r9,lr
	brhi	0000F968

l0000F946:
	popm	lr
	cp.w	r12,00000003
	breq	0000F95E

l0000F94C:
	cp.w	r12,00000001
	brcs	0000F954

l0000F950:
	reteq	pc

l0000F952:
	retne	sp

l0000F954:
	cp.w	r10,r8
	cpc	r11,r9
	retcc	pc

l0000F95C:
	retcs	sp

l0000F95E:
	cp.w	r8,r10
	cpc	r9,r11
	retcc	pc

l0000F966:
	retcs	sp

l0000F968:
	popm	pc,r12=0

l0000F96A:
	lsl	r9,+00000001
	srcs	r12
	subfeq	r8,00000000

l0000F972:
	reteq	pc

l0000F974:
	ret	r12

;; __avr32_f64_cmp_lt: 0000F976
;;   Called from:
;;     0000925C (in fn00009248)
;;     0000D76C (in fn0000D220)
;;     0000D806 (in fn0000D220)
;;     0000D8F0 (in fn0000D220)
;;     0000D95C (in fn0000D220)
;;     0000DA5E (in fn0000D220)
;;     0000DB42 (in fn0000D220)
;;     0000DC06 (in fn0000D220)
;;     0000DC72 (in fn0000D220)
;;     0000E79E (in fn0000E684)
;;     0000E982 (in fn0000E868)
;;     0000F296 (in fn0000F278)
__avr32_f64_cmp_lt proc
	lsl	r11,+00000001
	srcs	r12
	subfeq	r10,00000000

l0000F97E:
	breq	0000F9C4

l0000F980:
	lsl	r9,+00000001
	rol	r12
	pushm	lr
	mov	lr,00000000
	orh	lr,FFE0
	cp.w	r10,00000000
	cpc	r11,lr
	brhi	0000F9C2

l0000F996:
	cp.w	r8,00000000
	cpc	r9,lr
	brhi	0000F9C2

l0000F9A0:
	popm	lr
	cp.w	r12,00000003
	breq	0000F9B8

l0000F9A6:
	cp.w	r12,00000001
	brcs	0000F9AE

l0000F9AA:
	reteq	sp

l0000F9AC:
	retne	pc

l0000F9AE:
	cp.w	r10,r8
	cpc	r11,r9
	retcc	sp

l0000F9B6:
	retcs	pc

l0000F9B8:
	cp.w	r8,r10
	cpc	r9,r11
	retcc	sp

l0000F9C0:
	retcs	pc

l0000F9C2:
	popm	pc,r12=0

l0000F9C4:
	lsl	r9,+00000001
	srcc	r12
	subfeq	r8,00000000

l0000F9CC:
	reteq	sp

l0000F9CE:
	ret	r12

;; fn0000F9D0: 0000F9D0
;;   Called from:
;;     00008C10 (in fn00008BE0)
;;     00008C2E (in fn00008BE0)
;;     00008EDA (in fn00008E88)
;;     0000917C (in fn000090C0)
fn0000F9D0 proc
	lsl	r10,r12,00000001
	lsl	r9,r11,00000001
	subfeq	r10,00000000

l0000F9DC:
	reteq	pc

l0000F9DE:
	mov	r8,00000000
	orh	r8,FF00
	cp.w	r10,r8
	rethi	sp

l0000F9E8:
	cp.w	r9,r8
	rethi	sp

l0000F9EC:
	eor	r8,r11,r12
	bld	r12,+0000001F
	srcc	r8
	retmi	r8

l0000F9F8:
	brcs	0000FA00

l0000F9FA:
	cp.w	r12,r11
	retcc	pc

l0000F9FE:
	retcs	sp

l0000FA00:
	cp.w	r11,r12
	retcc	pc

l0000FA04:
	retcs	sp

l0000FA06:
	lsl	r9,+00000001
	subfeq	r8,00000000

l0000FA0C:
	ret	r12

;; fn0000FA0E: 0000FA0E
;;   Called from:
;;     00008BF0 (in fn00008BE0)
;;     00008BFA (in fn00008BE0)
;;     00008C04 (in fn00008BE0)
;;     00008C24 (in fn00008BE0)
;;     00008C38 (in fn00008BE0)
;;     0000905E (in fn0000901C)
;;     00009088 (in fn0000901C)
;;     0000912A (in fn000090C0)
;;     00009154 (in fn000090C0)
fn0000FA0E proc
	lsl	r10,r12,00000001
	lsl	r9,r11,00000001
	subfeq	r10,00000000

l0000FA1A:
	reteq	sp

l0000FA1C:
	mov	r8,00000000
	orh	r8,FF00
	cp.w	r10,r8
	rethi	sp

l0000FA26:
	cp.w	r9,r8
	rethi	sp

l0000FA2A:
	eor	r8,r11,r12
	bld	r12,+0000001F
	srcs	r8
	retmi	r8

l0000FA36:
	brcs	0000FA3E

l0000FA38:
	cp.w	r12,r11
	retcc	sp

l0000FA3C:
	retcs	pc

l0000FA3E:
	cp.w	r11,r12
	retcc	sp

l0000FA42:
	retcs	pc

l0000FA44:
	lsl	r9,+00000001
	subfeq	r8,00000000

l0000FA4A:
	ret	r12
0000FA4C                                     A1 79 F5 B8             .y..
0000FA50 00 00 5E FC                                     ..^.           

;; __avr32_f64_div: 0000FA54
;;   Called from:
;;     0000956E (in fn000093B8)
;;     000095FA (in fn000095D6)
;;     00009664 (in fn000095D6)
__avr32_f64_div proc
	stm	--sp,r0-r7,lr
	eor	lr,r11,r9
	lsr	r7,r11,00000014
	lsl	r11,+00000009
	or	r11,r11,r10>>23
	lsl	r10,+00000009
	sbr	r11,+0000001D
	andh	r11,3FFF
	cbr	r7,+0000000B
	breq	0000FC0A

l0000FA74:
	cp.w	r7,000007FF
	brge	0000FBE4

l0000FA7C:
	lsr	r6,r9,00000014
	lsl	r9,+00000009
	or	r9,r9,r8>>23
	lsl	r8,+00000009
	sbr	r9,+0000001D
	andh	r9,3FFF
	cbr	r6,+0000000B
	breq	0000FC56

l0000FA94:
	cp.w	r6,000007FF
	brge	0000FBFE

l0000FA9C:
	sub	r7,r6
	sub	r7,FFFFFC01
	mov	r12,00000000
	orh	r12,8000
	lsr	r3,r12,00000001
	bfextu	r4,r9,+0000001B,+00000002
	com	r4
	bfexts	r3,r4,+0000001C,+00000002
	mulu.d	r4,r3,r9
	sub	r5,r12,r5<<2
	mulu.d	r4,r3,r5
	lsl	r3,r5,00000002
	mulu.d	r4,r3,r9
	sub	r5,r12,r5<<2
	mulu.d	r4,r3,r5
	lsl	r3,r5,00000002
	mulu.d	r4,r3,r9
	sub	r5,r12,r5<<2
	mulu.d	r4,r3,r5
	lsl	r3,r5,00000002
	mulu.d	r0,r3,r8
	macu.d	r0,r2,r9
	mulu.d	r4,r3,r9
	add	r4,r1
	acr	r5
	lsl	r5,+00000002
	or	r5,r5,r4>>30
	lsl	r4,+00000002
	neg	r4
	sbc	r5,r12,r5
	mulu.d	r0,r3,r4
	macu.d	r0,r2,r5
	mulu.d	r4,r3,r5
	add	r4,r1
	acr	r5
	lsl	r3,r5,00000002
	or	r3,r3,r4>>30
	lsl	r2,r4,00000002
	mulu.d	r0,r3,r8
	macu.d	r0,r2,r9
	mulu.d	r4,r3,r9
	add	r4,r1
	acr	r5
	lsl	r5,+00000002
	or	r5,r5,r4>>30
	lsl	r4,+00000002
	neg	r4
	sbc	r5,r12,r5
	mulu.d	r0,r3,r4
	macu.d	r0,r2,r5
	mulu.d	r4,r3,r5
	add	r4,r1
	acr	r5
	lsl	r3,r5,00000002
	or	r3,r3,r4>>30
	lsl	r2,r4,00000002
	mulu.d	r0,r3,r10
	macu.d	r0,r2,r11
	mulu.d	r2,r3,r11
	add	r2,r1
	acr	r3
	bld	r3,+0000001C
	breq	0000FB80

l0000FB70:
	lsl	r2,+00000001
	rol	r3
	sub	r7,00000001
	lsr	r10,+00000003
	or	r10,r10,r11<<29
	lsr	r11,+00000003
	rjmp	0000FB88

l0000FB80:
	lsr	r10,+00000004
	or	r10,r10,r11<<28
	lsr	r11,+00000004

l0000FB88:
	cp.w	r7,00000000
	brle	0000FCA0

l0000FB8E:
	andl	r2,FF00
	orl	r2,0080
	mulu.d	r0,r3,r8
	macu.d	r0,r2,r9
	mulu.d	r4,r2,r8
	mulu.d	r8,r3,r9
	add	r5,r0
	adc	r8,r8,r1
	acr	r9
	bfextu	r12,r2,+00000008,+00000001
	cp.w	r4,00000000
	cpc	r5

l0000FBB6:
	cpc	r8,r10
	cpc	r9,r11
	srcs	r6
	moveq	r6,r12

l0000FBC4:
	lsr	r10,r2,00000008
	or	r10,r10,r3<<24
	lsr	r11,r3,00000008
	bfexts	r11,r7,+00000014,+0000000B
	bld	lr,+0000001F
	bst	r11,+0000001F
	add	r10,r6
	acr	r11
	ldm	sp++,r0-r7,pc

l0000FBE4:
	andh	r11,000F
	or	r11,r10
	brne	0000FD38

l0000FBEE:
	lsr	r6,r9,00000014
	cbr	r6,+00000008
	cp.w	r6,000007FF
	brne	0000FD40

l0000FBFC:
	rjmp	0000FD38

l0000FBFE:
	andh	r9,000F
	or	r9,r8
	brne	0000FD38

l0000FC08:
	rjmp	0000FD2C

l0000FC0A:
	lsl	r11,+00000003
	or	r11,r11,r10>>29
	lsl	r10,+00000003
	or	r4,r10,r11
	breq	0000FD50

l0000FC1A:
	clz	r4,r11
	breq	0000FC4C

l0000FC20:
	brcs	0000FC38

l0000FC22:
	rsub	r5,r4,00000020
	lsl	r11,r11,r4
	lsr	r5,r10,r5
	or	r11,r5
	lsl	r10,r10,r4
	sub	r7,r4
	rjmp	0000FC4C

l0000FC38:
	clz	r4,r10
	movcs	r4,00000000

l0000FC40:
	subcc	r4,FFFFFFE0

l0000FC44:
	lsl	r11,r10,r4
	mov	r10,00000000
	sub	r7,r4

l0000FC4C:
	lsr	r10,+00000002
	or	r10,r10,r11<<30
	lsr	r11,+00000002
	rjmp	0000FA74

l0000FC56:
	lsl	r9,+00000003
	or	r9,r9,r8>>29
	lsl	r8,+00000003
	or	r4,r9,r8
	breq	0000FD40

l0000FC64:
	clz	r4,r9
	breq	0000FC96

l0000FC6A:
	brcs	0000FC82

l0000FC6C:
	rsub	r5,r4,00000020
	lsl	r9,r9,r4
	lsr	r5,r8,r5
	or	r9,r5
	lsl	r8,r8,r4
	sub	r6,r4
	rjmp	0000FC96

l0000FC82:
	clz	r4,r8
	movcs	r4,00000000

l0000FC8A:
	subcc	r4,FFFFFFE0

l0000FC8E:
	lsl	r9,r8,r4
	mov	r8,00000000
	sub	r6,r4

l0000FC96:
	lsr	r8,+00000002
	or	r8,r8,r9<<30
	lsr	r9,+00000002
	rjmp	0000FA94

l0000FCA0:
	neg	r7
	sub	r7,FFFFFFFF
	satu	r7,+00000006
	cp.w	r7,00000020
	brge	0000FCD6

l0000FCAE:
	rsub	r6,r7,00000020
	lsr	r2,r2,r7
	lsl	r12,r3,r6
	or	r2,r12
	lsr	r3,r3,r7
	lsl	r1,r10,r6
	lsr	r10,r10,r7
	lsl	r12,r11,r6
	or	r10,r12
	lsr	r11,r11,r7
	mov	r0,00000000
	rjmp	0000FCFE

l0000FCD6:
	rsub	r6,r7,00000020
	moveq	r0,00000000

l0000FCDE:
	moveq	r12,00000000

l0000FCE2:
	breq	0000FCEC

l0000FCE4:
	lsl	r0,r10,r6
	lsl	r12,r11,r6

l0000FCEC:
	lsr	r2,r3,r7
	mov	r3,00000000
	lsr	r1,r10,r7
	or	r1,r12
	lsr	r10,r11,r7
	mov	r11,00000000

l0000FCFE:
	andl	r2,FF00
	orl	r2,0080
	mulu.d	r6,r3,r8
	macu.d	r6,r2,r9
	mulu.d	r4,r2,r8
	mulu.d	r8,r3,r9
	add	r5,r6
	adc	r8,r8,r7
	acr	r9
	mov	r7,00000000
	bfextu	r12,r2,+00000008,+00000001
	cp.w	r4,r0
	cpc	r5,r1
	rjmp	0000FBB6

l0000FD2C:
	mov	r11,lr
	andh	r11,8000,COH
	mov	r10,00000000
	ldm	sp++,r0-r7,pc

l0000FD38:
	mov	r11,FFFFFFFF
	mov	r10,FFFFFFFF
	ldm	sp++,r0-r7,pc

l0000FD40:
	mov	r11,lr
	andh	r11,8000,COH
	orh	r11,7FF0
	mov	r10,00000000
	ldm	sp++,r0-r7,pc

l0000FD50:
	or	r5,r8,r9<<1
	breq	0000FD38

l0000FD56:
	bfextu	r4,r9,+00000014,+0000000B
	cp.w	r4,000007FF
	brne	0000FD2C

l0000FD60:
	or	r5,r8,r9<<12
	breq	0000FD2C

l0000FD66:
	rjmp	0000FD38
0000FD68                         A1 79 F5 B8 00 00 5E FC         .y....^.

;; fn0000FD70: 0000FD70
;;   Called from:
;;     00008ED2 (in fn00008E88)
fn0000FD70 proc
	eor	r8,r11,r12
	lsl	r12,+00000001
	reteq	sp

l0000FD78:
	lsl	r11,+00000001
	breq	0000FE62

l0000FD7C:
	lsr	r9,r12,00000018
	breq	0000FE6E

l0000FD82:
	cp.w	r9,000000FF
	brcc	0000FE50

l0000FD88:
	lsl	r12,+00000007
	sbr	r12,+0000001F

l0000FD8C:
	lsr	r10,r11,00000018
	breq	0000FE7E

l0000FD92:
	cp.w	r10,000000FF
	brcc	0000FE5E

l0000FD98:
	lsl	r11,+00000007
	sbr	r11,+0000001F

l0000FD9C:
	st.w	--sp,r5
	st.d	--sp,r7:r6
	sub	r9,r10
	sub	r9,FFFFFF81
	mov	r10,00000000
	orh	r10,8000
	lsr	r12,+00000002
	lsr	r5,r11,00000002
	lsr	r11,r10,00000001
	bfextu	r6,r5,+0000001B,+00000002
	com	r6
	bfexts	r11,r6,+0000001C,+00000002
	mulu.d	r6,r11,r5
	sub	r7,r10,r7<<2
	mulu.d	r6,r11,r7
	lsl	r11,r7,00000002
	mulu.d	r6,r11,r5
	sub	r7,r10,r7<<2
	mulu.d	r6,r11,r7
	lsl	r11,r7,00000002
	mulu.d	r6,r11,r5
	sub	r7,r10,r7<<2
	mulu.d	r6,r11,r7
	lsl	r11,r7,00000002
	mulu.d	r6,r11,r5
	sub	r7,r10,r7<<2
	mulu.d	r6,r11,r7
	lsl	r11,r7,00000002
	mulu.d	r6,r11,r12
	lsr	r12,+00000004
	bld	r7,+0000001C
	breq	0000FE10

l0000FE0A:
	lsl	r7,+00000001
	sub	r9,00000001
	lsl	r12,+00000001

l0000FE10:
	cp.w	r9,00000000
	brle	0000FE8E

l0000FE16:
	andl	r7,FFE0
	orl	r7,0010
	mulu.d	r10,r5,r7
	bfextu	r5,r7,+00000005,+00000001
	cp.w	r10,00000000

l0000FE28:
	cpc	r11,r12
	srcs	r11
	moveq	r11,r5

l0000FE32:
	lsr	r12,r7,00000005
	bfexts	r12,r9,+00000017,+00000008
	ld.d	r7:r6,sp++
	ld.w	r5,sp++
	bld	r8,+0000001F
	bst	r12,+0000001F
	add	r12,r11
	ret	r12

l0000FE4A:
	lsl	r8,+00000001
	ror	r12
	ret	r12

l0000FE50:
	retne	lr

l0000FE52:
	mov	r9,00000000
	orh	r9,FF00
	cp.w	r11,r9
	brcs	0000FE4A

l0000FE5C:
	ret	lr

l0000FE5E:
	reteq	sp

l0000FE60:
	ret	lr

l0000FE62:
	tst	r12,r12
	reteq	lr

l0000FE66:
	mov	r12,00000000
	orh	r12,FF00
	rjmp	0000FE4A

l0000FE6E:
	lsl	r12,+00000007
	clz	r9,r12
	lsl	r12,r12,r9
	rsub	r9,r9,00000001
	rjmp	0000FD8C

l0000FE7E:
	lsl	r11,+00000007
	clz	r10,r11
	lsl	r11,r11,r10
	rsub	r10,r10,00000001
	rjmp	0000FD9C

l0000FE8E:
	neg	r9
	sub	r9,FFFFFFFF
	satu	r9,+00000005
	rsub	r10,r9,00000020
	lsr	r7,r7,r9
	lsl	r6,r12,r10
	lsr	r12,r12,r9
	andl	r7,FFE0
	orl	r7,0010
	mulu.d	r10,r5,r7
	mov	r9,00000000
	bfextu	r5,r7,+00000005,+00000001
	cp.w	r10,r6
	rjmp	0000FE28
0000FEBC                                     A1 79 F5 B8             .y..
0000FEC0 00 00 5E FC                                     ..^.           

l0000FEC4:
	eorh	r11,8000
	eor	r8,r11,r12
	brmi	0000FF98

l0000FECE:
	mov	r8,r12
	andh	r12,8000,COH
	cbr	r11,+0000001F
	cbr	r8,+0000001F
	max	r10,r8,r11
	min	r9,r8,r11
	cp.w	r10,r8
	subne	r12,00000001

l0000FEE6:
	andh	r12,8000,COH
	lsl	r8,r10,00000008
	sbr	r8,+0000001F
	lsr	r10,+00000017
	cp.w	r10,000000FF
	breq	0000FF68

l0000FEF8:
	lsl	r11,r9,00000008
	sbr	r11,+0000001F
	lsr	r9,+00000017
	st.w	--sp,r12
	breq	0000FF56

l0000FF04:
	sub	r12,r10,r9
	breq	0000FF20

l0000FF0A:
	satu	r12,+00000005
	rsub	r9,r12,00000020
	lsl	r9,r11,r9
	subne	r8,00000001

l0000FF1A:
	srne	r9
	lsr	r11,r11,r12

l0000FF20:
	sub	r8,r11
	ld.w	r12,sp++
	clz	r11,r8
	retcs	sp

l0000FF2A:
	lsl	r8,r8,r11
	sub	r10,r11
	brle	0000FF7E

l0000FF34:
	or	r9,r9,r8<<24
	or	r12,r12,r8>>8
	bfexts	r12,r10,+00000017,+00000008

l0000FF40:
	mov	r10,00000000
	orh	r10,8000
	bld	r12,+00000000
	subne	r10,FFFFFFFF

l0000FF4E:
	cp.w	r9,r10
	subcc	r12,FFFFFFFF

l0000FF54:
	ret	r12

l0000FF56:
	cbr	r11,+0000001F
	movne	r9,00000001

l0000FF5C:
	cp.w	r10,00000000
	brne	0000FF04

l0000FF60:
	cbr	r8,+0000001F
	movne	r10,00000001

l0000FF66:
	rjmp	0000FF04

l0000FF68:
	lsl	r11,r8,00000001
	retne	lr

l0000FF6E:
	bfexts	r12,r10,+00000017,+00000008
	lsr	r11,r9,00000017
	cp.w	r11,000000FF
	retne	r12

l0000FF7C:
	ret	lr

l0000FF7E:
	rsub	r10,r10,00000009
	rsub	r11,r10,00000020
	retcs	sp

l0000FF88:
	lsr	r10,r8,r10
	or	r12,r10
	lsl	r8,r8,r11
	or	r9,r8
	rjmp	0000FF40
0000FF96                   D7 03                               ..       

l0000FF98:
	eorh	r11,8000

;; fn0000FF9C: 0000FF9C
;;   Called from:
;;     00008C1A (in fn00008BE0)
fn0000FF9C proc
	eor	r8,r11,r12
	brmi	0000FEC4

l0000FFA2:
	mov	r8,r12
	andh	r12,8000,COH
	cbr	r11,+0000001F
	cbr	r8,+0000001F
	max	r10,r8,r11
	min	r9,r8,r11
	lsl	r8,r10,00000008
	sbr	r8,+0000001F
	lsr	r10,+00000017
	cp.w	r10,000000FF
	breq	0001001C

l0000FFC2:
	lsl	r11,r9,00000008
	sbr	r11,+0000001F
	lsr	r9,+00000017
	breq	00010008

l0000FFCC:
	st.w	--sp,r12
	rsub	r9,r10
	satu	r9,+00000005
	lsr	r12,r11,r9
	rsub	r9,r9,00000018
	lsl	r11,r11,r9
	bfexts	r11,r12,+00000018,+00000008
	add	r8,r12
	ld.w	r12,sp++
	brcs	00010036

l0000FFEA:
	or	r12,r12,r8>>8
	bfexts	r12,r10,+00000017,+00000008
	mov	r10,00000000
	orh	r10,8000
	bld	r12,+00000000
	subne	r10,FFFFFFFF

l00010000:
	cp.w	r11,r10
	subcc	r12,FFFFFFFF

l00010006:
	ret	r12

l00010008:
	cbr	r11,+0000001F
	movne	r9,00000001

l0001000E:
	cp.w	r10,00000000
	brne	0000FFCC

l00010012:
	cbr	r8,+0000001F
	add	r11,r8
	or	r12,r12,r11>>8
	ret	r12

l0001001C:
	lsl	r11,r8,00000001
	retne	lr

l00010022:
	bfexts	r12,r10,+00000017,+00000008
	lsr	r11,r9,00000017
	cp.w	r11,000000FF
	retne	r12

l00010030:
	lsl	r9,+00000009
	reteq	r12

l00010034:
	ret	lr

l00010036:
	lsr	r8,+00000001
	sub	r10,FFFFFFFF
	cp.w	r10,000000FF
	moveq	r8,00000000

l00010042:
	moveq	r11,00000000

l00010046:
	rjmp	0000FFEA
00010048                         A1 79 F5 B8 00 00 5E FC         .y....^.

;; fn00010050: 00010050
;;   Called from:
;;     00009056 (in fn0000901C)
;;     00009080 (in fn0000901C)
;;     000090A2 (in fn0000901C)
;;     000090A8 (in fn0000901C)
;;     00009124 (in fn000090C0)
;;     0000914E (in fn000090C0)
;;     0000916E (in fn000090C0)
;;     00009174 (in fn000090C0)
fn00010050 proc
	mov	r8,r12
	eor	r12,r11
	andh	r12,8000,COH
	cbr	r8,+0000001F
	breq	00010126

l0001005C:
	cbr	r11,+0000001F
	max	r10,r8,r11
	min	r9,r8,r11
	lsl	r8,r10,00000008
	sbr	r8,+0000001F
	lsr	r10,+00000017
	cp.w	r10,000000FF
	breq	000100EC

l00010074:
	lsl	r11,r9,00000008
	sbr	r11,+0000001F
	lsr	r9,+00000017
	breq	000100C6

l0001007E:
	add	r9,r10
	mulu.d	r10,r8,r11
	lsl	r8,r11,00000001
	movcc	r11,r8

l0001008C:
	subcc	r9,00000001

l00010090:
	lsr	r10,+00000008
	bfexts	r10,r11,+00000018,+00000008
	sub	r9,0000007E
	brle	0001010A

l0001009C:
	cp.w	r9,000000FF
	brge	000100C0

l000100A2:
	or	r12,r12,r11>>8
	bfexts	r12,r9,+00000017,+00000008

l000100AA:
	mov	r8,00000000
	orh	r8,8000
	bld	r12,+00000000
	subne	r8,FFFFFFFF

l000100B8:
	cp.w	r10,r8
	subcc	r12,FFFFFFFF

l000100BE:
	ret	r12

l000100C0:
	orh	r12,7F80
	ret	r12

l000100C6:
	cbr	r11,+0000001F
	clz	r9,r11
	retcs	sp

l000100CE:
	lsl	r11,r11,r9
	rsub	r9,r9,00000001
	tst	r10,r10
	brne	0001007E

l000100DA:
	cbr	r8,+0000001F
	clz	r10,r11
	retcs	sp

l000100E2:
	lsl	r8,r8,r10
	rsub	r10,r10,00000001
	rjmp	0001007E

l000100EC:
	lsl	r11,r8,00000001
	retne	lr

l000100F2:
	tst	r9,r9
	reteq	lr

l000100F6:
	bfexts	r12,r10,+00000017,+00000008
	lsr	r11,r9,00000017
	cp.w	r11,000000FF
	retne	r12

l00010104:
	lsl	r9,+00000009
	reteq	r12

l00010108:
	ret	lr

l0001010A:
	rsub	r9,r9,00000009
	rsub	r8,r9,00000020
	retcs	sp

l00010114:
	lsr	r9,r11,r9
	or	r12,r9
	lsl	r11,r11,r8
	andh	r10,00FF
	or	r10,r11
	rjmp	000100AA

l00010126:
	bfextu	r10,r11,+00000017,+00000008
	cp.w	r10,000000FF
	retne	r12

l00010130:
	reteq	lr

l00010132:
	lsl	r9,+00000001
	subfeq	r8,00000000

l00010138:
	ret	r12

;; fn0001013A: 0001013A
;;   Called from:
;;     00008ECC (in fn00008E88)
;;     00009046 (in fn0000901C)
;;     00009050 (in fn0000901C)
;;     0000906E (in fn0000901C)
;;     00009076 (in fn0000901C)
;;     00009114 (in fn000090C0)
;;     0000911E (in fn000090C0)
;;     0000913C (in fn000090C0)
;;     00009144 (in fn000090C0)
fn0001013A proc
	cp.w	r12,00000000
	reteq	r12

l0001013E:
	mov	r10,0000009E
	clz	r9,r12
	sub	r10,r9
	lsl	r12,r12,r9
	cp.w	r10,00000000
	brle	00010176

l00010152:
	mov	r9,0000007F
	bld	r12,+00000008
	subeq	r9,FFFFFFFF

l0001015C:
	add	r12,r9
	subcs	r10,FFFFFFFE

l00010162:
	bld	r12,+0000001F
	subne	r10,00000001

l0001016A:
	lsr	r12,r12,00000007
	bfexts	r12,r10,+00000018,+00000008
	lsr	r12,+00000001
	ret	r12

l00010176:
	mov	r8,00000000
	rsub	r10,r10,00000001
	cp.w	r10,00000019
	movcc	r12,00000000

l00010182:
	brcc	000101A8

l00010184:
	rsub	r9,r10,00000020
	lsl	r9,r12,r9
	srne	r9
	lsr	r12,r12,r10
	or	r12,r9
	mov	r9,0000007F
	bld	r12,+00000008
	subeq	r9,FFFFFFFF

l0001019E:
	add	r12,r9
	lsr	r12,r12,00000007
	lsl	r8,+00000001
	ror	r12

l000101A8:
	ret	r12
000101AA                               A1 79 F5 B8 00 00           .y....
000101B0 5E FC                                           ^.             

;; fn000101B2: 000101B2
;;   Called from:
;;     00008EE2 (in fn00008E88)
;;     000090AC (in fn0000901C)
;;     00009184 (in fn000090C0)
fn000101B2 proc
	cp.w	r12,00000000
	retmi	sp

l000101B6:
	bfextu	r11,r12,+00000017,+00000008
	sub	r11,0000007F
	retcs	sp

l000101BE:
	rsub	r11,r11,0000001F
	lsl	r12,+00000008
	sbr	r12,+0000001F
	lsr	r12,r12,r11
	ret	r12

;; fn000101CC: 000101CC
;;   Called from:
;;     00009278 (in fn00009248)
;;     0000929A (in fn00009248)
;;     0000954A (in fn000093B8)
;;     00009556 (in fn000093B8)
;;     00009562 (in fn000093B8)
fn000101CC proc
	pushm	r0-r3,r4-r7,lr
	lddpc	r6,pc[48]
	rsub	r6,pc
	mov	r12,r11
	mov	r2,r10
	mov	r3,r11
	rcall	0000F7FA
	ld.d	r9:r8,pc[36]
	rcall	0000F2D0
	mov	r12,r2
	mov	r0,r10
	mov	r1,r11
	rcall	0000F7FA
	mov	r8,r10
	mov	r9,r11
	mov	r10,r0
	mov	r11,r1
	rcall	0000F650
	popm	r0-r3,r4-r7,pc
000101FC                                     FF FF B1 E0             ....
00010200 41 F0 00 00 00 00 00 00                         A.......       

;; __avr32_sdiv64: 00010208
;;   Called from:
;;     00009BFA (in fn00009BC8)
;;     00009C28 (in fn00009BC8)
__avr32_sdiv64 proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,00000008
	mov	r3,r11
	mov	r2,r10
	mov	r0,r8
	mov	r1,r9
	mov	r10,r8
	mov	r11,r9
	cp.w	r3,00000000
	brlt	00010222

l0001021E:
	mov	r8,00000000
	rjmp	00010230

l00010222:
	mov	r8,00000000
	mov	r9,00000000
	sub	r2,r8,r2
	sbc	r3,r9,r3
	mov	r8,FFFFFFFF

l00010230:
	st.w	r7[-8],r8
	cp.w	r1,00000000
	brge	0001024E

l00010238:
	mov	r8,00000000
	mov	r9,00000000
	sub	r10,r8,r0
	sbc	r11,r9,r1
	ld.w	r8,r7[-8]
	com	r8
	st.w	r7[-8],r8

l0001024E:
	mov	r12,r3
	mov	r0,r10
	mov	r1,r10
	mov	r5,r2
	cp.w	r11,00000000
	brne	000103F4

l0001025C:
	cp.w	r10,r3
	brls	000102E8

l00010262:
	clz	r10,r10
	breq	00010280

l00010268:
	rsub	r8,r10,00000020
	lsr	r8,r2,r8
	lsl	r9,r3,r10
	or	r12,r8,r9
	lsl	r5,r2,r10
	lsl	r1,r0,r10

l00010280:
	lsr	lr,r1,00000010
	divu	r8,r12,lr
	bfextu	r2,r1,+00000000,+00000010
	lsr	r10,r5,00000010
	mul	r12,r8,r2
	or	r11,r10,r9<<16
	mov	r3,r8
	cp.w	r11,r12
	brcc	000102B6

l0001029E:
	add	r11,r1
	sub	r3,00000001
	cp.w	r11,r1
	brcs	000102B6

l000102A6:
	sub	r8,r3,00000001
	add	r9,r11,r1
	cp.w	r11,r12
	brcc	000102B6

l000102B2:
	mov	r3,r8
	mov	r11,r9

l000102B6:
	sub	r9,r11,r12
	divu	r8,r9,lr
	bfextu	r10,r5,+00000000,+00000010
	mul	lr,r8,r2
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,lr
	brcc	000102E2

l000102D0:
	add	r11,r1
	sub	r12,00000001
	cp.w	r11,r1
	brcs	000102E2

l000102D8:
	sub	r8,r12,00000001
	cp.w	r11,lr
	movcs	r12,r8

l000102E2:
	or	r12,r12,r3<<16
	rjmp	000104C6

l000102E8:
	cp.w	r10,00000000
	brne	000102F4

l000102EC:
	mov	r9,00000001
	divu	r8,r9,r10
	mov	r1,r8

l000102F4:
	clz	r2,r1
	brne	00010302

l000102FA:
	sub	r11,r12,r1
	mov	r2,00000001
	rjmp	0001038C

l00010302:
	lsl	r1,r1,r2
	rsub	r10,r2,00000020
	lsr	r9,r12,r10
	lsr	r0,r1,00000010
	divu	r8,r9,r0
	lsr	r10,r5,r10
	lsl	r11,r12,r2
	bfextu	r3,r1,+00000000,+00000010
	or	r11,r10,r11
	lsr	r10,r11,00000010
	mul	r12,r8,r3
	or	r10,r10,r9<<16
	mov	lr,r8
	cp.w	r10,r12
	brcc	00010350

l00010338:
	add	r10,r1
	sub	lr,00000001
	cp.w	r10,r1
	brcs	00010350

l00010340:
	sub	r8,lr,00000001
	add	r9,r10,r1
	cp.w	r10,r12
	brcc	00010350

l0001034C:
	mov	lr,r8
	mov	r10,r9

l00010350:
	sub	r9,r10,r12
	divu	r8,r9,r0
	bfextu	r10,r11,+00000000,+00000010
	mul	r3,r8,r3
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,r3
	brcc	00010382

l0001036A:
	add	r11,r1
	sub	r12,00000001
	cp.w	r11,r1
	brcs	00010382

l00010372:
	sub	r8,r12,00000001
	add	r9,r11,r1
	cp.w	r11,r3
	brcc	00010382

l0001037E:
	mov	r12,r8
	mov	r11,r9

l00010382:
	lsl	r5,r5,r2
	sub	r11,r3
	or	r2,r12,lr<<16

l0001038C:
	lsr	lr,r1,00000010
	divu	r8,r11,lr
	bfextu	r0,r1,+00000000,+00000010
	lsr	r10,r5,00000010
	mul	r12,r8,r0
	or	r11,r10,r9<<16
	mov	r3,r8
	cp.w	r11,r12
	brcc	000103C2

l000103AA:
	add	r11,r1
	sub	r3,00000001
	cp.w	r11,r1
	brcs	000103C2

l000103B2:
	sub	r8,r3,00000001
	add	r9,r11,r1
	cp.w	r11,r12
	brcc	000103C2

l000103BE:
	mov	r3,r8
	mov	r11,r9

l000103C2:
	sub	r9,r11,r12
	divu	r8,r9,lr
	bfextu	r10,r5,+00000000,+00000010
	mul	lr,r8,r0
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,lr
	brcc	000103EE

l000103DC:
	add	r11,r1
	sub	r12,00000001
	cp.w	r11,r1
	brcs	000103EE

l000103E4:
	sub	r8,r12,00000001
	cp.w	r11,lr
	movcs	r12,r8

l000103EE:
	or	r12,r12,r3<<16
	rjmp	000104CE

l000103F4:
	cp.w	r11,r3
	brhi	000104CA

l000103FA:
	clz	lr,r11
	brne	00010410

l00010400:
	cp.w	r3,r11
	brhi	0001040A

l00010406:
	cp.w	r2,r10
	brcs	000104CA

l0001040A:
	mov	r2,lr
	mov	r12,00000001
	rjmp	000104CE

l00010410:
	rsub	r10,lr,00000020
	lsr	r8,r0,r10
	lsl	r9,r11,lr
	or	r3,r8,r9
	lsr	r11,r3,00000010
	lsr	r9,r12,r10
	divu	r8,r9,r11
	lsr	r10,r2,r10
	st.w	r7[-4],r11
	bfextu	r2,r3,+00000000,+00000010
	lsl	r11,r12,lr
	or	r11,r10,r11
	lsr	r10,r11,00000010
	lsl	r0,r0,lr
	mul	r12,r8,r2
	or	r10,r10,r9<<16
	mov	r1,r8
	cp.w	r10,r12
	brcc	0001046E

l00010456:
	add	r10,r3
	sub	r1,00000001
	cp.w	r10,r3
	brcs	0001046E

l0001045E:
	sub	r8,r1,00000001
	add	r9,r10,r3
	cp.w	r10,r12
	brcc	0001046E

l0001046A:
	mov	r1,r8
	mov	r10,r9

l0001046E:
	sub	r9,r10,r12
	ld.w	r10,r7[-4]
	divu	r8,r9,r10
	bfextu	r10,r11,+00000000,+00000010
	mul	r2,r8,r2
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,r2
	brcc	000104A4

l0001048C:
	add	r11,r3
	sub	r12,00000001
	cp.w	r11,r3
	brcs	000104A4

l00010494:
	add	r9,r11,r3
	sub	r8,r12,00000001
	cp.w	r11,r2
	brcc	000104A4

l000104A0:
	mov	r12,r8
	mov	r11,r9

l000104A4:
	or	r12,r12,r1<<16
	mulu.d	r8,r12,r0
	sub	r11,r2
	mov	r3,r9
	mov	r9,r8
	cp.w	r3,r11
	brhi	000104C4

l000104B8:
	brne	000104C6

l000104BA:
	lsl	r8,r5,lr
	cp.w	r9,r8
	brls	000104C6

l000104C4:
	sub	r12,00000001

l000104C6:
	mov	r2,00000000
	rjmp	000104CE

l000104CA:
	mov	r12,00000000
	mov	r2,r12

l000104CE:
	ld.w	r8,r7[-8]
	mov	r10,r12
	mov	r11,r2
	cp.w	r8,00000000
	breq	000104E6

l000104DA:
	mov	r8,00000000
	mov	r9,00000000
	sub	r10,r8,r10
	sbc	r11,r9,r11

l000104E6:
	sub	sp,FFFFFFF8
	popm	r0-r3,r4-r7,pc

;; __moddi3: 000104EA
;;   Called from:
;;     00009BE8 (in fn00009BC8)
;;     00009C16 (in fn00009BC8)
__moddi3 proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,00000024
	mov	r0,r8
	mov	r1,r9
	mov	r8,00000000
	mov	r9,00000000
	st.d	r7[-36],r9:r8
	mov	r2,r0
	mov	r3,r1
	cp.w	r11,00000000
	brlt	0001050C

l00010504:
	mov	r8,00000000
	st.w	r7[-28],r8
	rjmp	0001051E

l0001050C:
	mov	r8,00000000
	mov	r9,00000000
	sub	r10,r8,r10
	sbc	r11,r9,r11
	mov	lr,FFFFFFFF
	st.w	r7[-28],lr

l0001051E:
	cp.w	r1,00000000
	brge	0001052E

l00010522:
	mov	r8,00000000
	mov	r9,00000000
	sub	r2,r8,r0
	sbc	r3,r9,r1

l0001052E:
	sub	r12,r7,00000008
	st.w	r7[-24],r12
	mov	r0,r2
	mov	r12,r2
	mov	r9,r3
	mov	lr,r10
	mov	r5,r10
	mov	r1,r11
	mov	r8,r11
	cp.w	r3,00000000
	brne	00010670

l0001054A:
	cp.w	r2,r11
	brls	00010576

l00010550:
	clz	r2,r2
	breq	0001056C

l00010556:
	rsub	r8,r2,00000020
	lsr	r8,r10,r8
	lsl	r9,r11,r2
	or	r8,r9
	lsl	r12,r0,r2
	lsl	r5,r10,r2

l0001056C:
	lsr	lr,r12,00000010
	divu	r8,r8,lr
	rjmp	00010606

l00010576:
	cp.w	r2,00000000
	brne	00010582

l0001057A:
	mov	r9,00000001
	divu	r8,r9,r2
	mov	r12,r8

l00010582:
	clz	r2,r12
	brne	0001058E

l00010588:
	sub	r11,r1,r12
	rjmp	000105FE

l0001058E:
	lsl	r12,r12,r2
	rsub	r10,r2,00000020
	lsr	r9,r1,r10
	lsr	r0,r12,00000010
	divu	r8,r9,r0
	lsr	r10,lr,r10
	lsl	r11,r1,r2
	bfextu	lr,r12,+00000000,+00000010
	or	r11,r10,r11
	lsr	r10,r11,00000010
	mul	r3,lr,r8
	or	r9,r10,r9<<16
	cp.w	r9,r3
	brcc	000105D2

l000105C2:
	add	r9,r12
	cp.w	r9,r12
	brcs	000105D2

l000105C8:
	add	r8,r9,r12
	cp.w	r9,r3
	movcs	r9,r8

l000105D2:
	sub	r9,r3
	divu	r8,r9,r0
	bfextu	r10,r11,+00000000,+00000010
	mul	r3,lr,r8
	or	r11,r10,r9<<16
	cp.w	r11,r3
	brcc	000105F8

l000105E8:
	add	r11,r12
	cp.w	r11,r12
	brcs	000105F8

l000105EE:
	add	r8,r11,r12
	cp.w	r11,r3
	movcs	r11,r8

l000105F8:
	sub	r11,r3
	lsl	r5,r5,r2

l000105FE:
	lsr	lr,r12,00000010
	divu	r8,r11,lr

l00010606:
	bfextu	r1,r12,+00000000,+00000010
	mul	r3,r1,r8
	lsr	r10,r5,00000010
	or	r11,r10,r9<<16
	cp.w	r11,r3
	brcc	0001062A

l0001061A:
	add	r11,r12
	cp.w	r11,r12
	brcs	0001062A

l00010620:
	add	r8,r11,r12
	cp.w	r11,r3
	movcs	r11,r8

l0001062A:
	sub	r9,r11,r3
	divu	r8,r9,lr
	bfextu	r10,r5,+00000000,+00000010
	mul	r3,r1,r8
	or	r11,r10,r9<<16
	cp.w	r11,r3
	brcc	00010652

l00010642:
	add	r11,r12
	cp.w	r11,r12
	brcs	00010652

l00010648:
	add	r8,r11,r12
	cp.w	r11,r3
	movcs	r11,r8

l00010652:
	sub	r11,r3
	lsr	r11,r11,r2
	st.w	r7[-32],r11
	mov	r11,00000000
	st.w	r7[-36],r11
	ld.d	r9:r8,r7[-36]
	ld.w	lr,r7[-24]
	st.d	lr[0],r9:r8
	rjmp	0001079E

l00010670:
	cp.w	r3,r11
	brls	00010680

l00010676:
	st.w	r7[-32],r10
	st.w	r7[-36],r11
	rjmp	00010792

l00010680:
	clz	r2,r3
	brne	000106A2

l00010686:
	cp.w	r11,r3
	brhi	00010690

l0001068C:
	cp.w	r10,r0
	brcs	00010698

l00010690:
	sub	r5,lr,r0
	sbc	r8,r1,r9

l00010698:
	st.w	r7[-32],r5
	st.w	r7[-36],r8
	rjmp	00010792

l000106A2:
	rsub	r8,r2,00000020
	st.w	r7[-12],r8
	lsl	r9,r3,r2
	lsr	r8,r0,r8
	ld.w	r12,r7[-12]
	or	r3,r8,r9
	lsr	r9,r11,r12
	lsr	r11,r3,00000010
	divu	r8,r9,r11
	lsr	r10,r10,r12
	st.w	r7[-16],r11
	bfextu	r12,r3,+00000000,+00000010
	lsl	r11,r1,r2
	st.w	r7[-20],r12
	or	r11,r10,r11
	lsr	r10,r11,00000010
	lsl	r5,r0,r2
	lsl	r0,lr,r2
	mul	r12,r8,r12
	or	r10,r10,r9<<16
	mov	r1,r8
	cp.w	r10,r12
	brcc	00010710

l000106F8:
	add	r10,r3
	sub	r1,00000001
	cp.w	r10,r3
	brcs	00010710

l00010700:
	sub	r8,r1,00000001
	add	r9,r10,r3
	cp.w	r10,r12
	brcc	00010710

l0001070C:
	mov	r1,r8
	mov	r10,r9

l00010710:
	sub	r9,r10,r12
	ld.w	r10,r7[-16]
	divu	r8,r9,r10
	bfextu	r10,r11,+00000000,+00000010
	ld.w	r11,r7[-20]
	mul	lr,r8,r11
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,lr
	brcc	0001074A

l00010732:
	add	r11,r3
	sub	r12,00000001
	cp.w	r11,r3
	brcs	0001074A

l0001073A:
	sub	r8,r12,00000001
	add	r9,r11,r3
	cp.w	r11,lr
	brcc	0001074A

l00010746:
	mov	r12,r8
	mov	r11,r9

l0001074A:
	or	r9,r12,r1<<16
	mulu.d	r8,r9,r5
	sub	r11,lr
	mov	r12,r9
	mov	r9,r8
	cp.w	r12,r11
	brhi	00010766

l0001075E:
	brne	00010770

l00010760:
	cp.w	r8,r0
	brls	00010770

l00010766:
	sub	r10,r9,r5
	sbc	r12,r12,r3
	mov	r9,r10

l00010770:
	ld.w	lr,r7[-12]
	sub	r8,r0,r9
	sbc	r10,r11,r12
	lsl	r9,r10,lr
	lsr	r8,r8,r2
	or	r8,r9
	lsr	r10,r10,r2
	st.w	r7[-32],r8
	st.w	r7[-36],r10

l00010792:
	ld.d	r11:r10,r7[-36]
	ld.w	r9,r7[-24]
	st.d	r9[0],r11:r10

l0001079E:
	ld.w	r8,r7[-28]
	cp.w	r8,00000000
	breq	000107B8

l000107A6:
	ld.d	r11:r10,r7[-8]
	mov	r8,00000000
	mov	r9,00000000
	sub	r8,r10
	sbc	r9,r9,r11
	st.d	r7[-8],r9:r8

l000107B8:
	ld.d	r11:r10,r7[-8]
	sub	sp,FFFFFFDC
	popm	r0-r3,r4-r7,pc

;; fn000107C0: 000107C0
;;   Called from:
;;     00009472 (in fn000093B8)
;;     0000949C (in fn000093B8)
;;     000094D2 (in fn000093B8)
;;     0000952E (in fn000093B8)
;;     0000953E (in fn000093B8)
;;     000096FA (in fn000093B8)
;;     0000987A (in fn000093B8)
;;     0000B800 (in fn0000B7D4)
;;     0000CA82 (in fn0000CA68)
fn000107C0 proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,00000004
	mov	r5,r11
	mov	r3,r8
	mov	lr,r8
	mov	r1,r10
	cp.w	r9,00000000
	brne	0001096C

l000107D4:
	cp.w	r8,r11
	brls	00010860

l000107DA:
	clz	r12,r8
	breq	000107F8

l000107E0:
	rsub	r8,r12,00000020
	lsr	r8,r10,r8
	lsl	r9,r11,r12
	or	r5,r8,r9
	lsl	r1,r10,r12
	lsl	lr,r3,r12

l000107F8:
	lsr	r3,lr,00000010
	divu	r8,r5,r3
	bfextu	r2,lr,+00000000,+00000010
	lsr	r10,r1,00000010
	mul	r12,r8,r2
	or	r11,r10,r9<<16
	mov	r5,r8
	cp.w	r11,r12
	brcc	0001082E

l00010816:
	add	r11,lr
	sub	r5,00000001
	cp.w	r11,lr
	brcs	0001082E

l0001081E:
	sub	r8,r5,00000001
	add	r9,r11,lr
	cp.w	r11,r12
	brcc	0001082E

l0001082A:
	mov	r5,r8
	mov	r11,r9

l0001082E:
	sub	r9,r11,r12
	divu	r8,r9,r3
	bfextu	r10,r1,+00000000,+00000010
	mul	r3,r8,r2
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,r3
	brcc	0001085A

l00010848:
	add	r11,lr
	sub	r12,00000001
	cp.w	r11,lr
	brcs	0001085A

l00010850:
	sub	r8,r12,00000001
	cp.w	r11,r3
	movcs	r12,r8

l0001085A:
	or	r12,r12,r5<<16
	rjmp	00010A3C

l00010860:
	cp.w	r8,00000000
	brne	0001086C

l00010864:
	mov	r9,00000001
	divu	r8,r9,r8
	mov	lr,r8

l0001086C:
	clz	r2,lr
	brne	0001087A

l00010872:
	sub	r11,r5,lr
	mov	r2,00000001
	rjmp	00010904

l0001087A:
	lsl	lr,lr,r2
	rsub	r10,r2,00000020
	lsr	r9,r5,r10
	lsr	r0,lr,00000010
	divu	r8,r9,r0
	lsr	r10,r1,r10
	lsl	r11,r5,r2
	bfextu	r5,lr,+00000000,+00000010
	or	r11,r10,r11
	lsr	r10,r11,00000010
	mul	r12,r8,r5
	or	r10,r10,r9<<16
	mov	r3,r8
	cp.w	r10,r12
	brcc	000108C8

l000108B0:
	add	r10,lr
	sub	r3,00000001
	cp.w	r10,lr
	brcs	000108C8

l000108B8:
	sub	r8,r3,00000001
	add	r9,r10,lr
	cp.w	r10,r12
	brcc	000108C8

l000108C4:
	mov	r3,r8
	mov	r10,r9

l000108C8:
	sub	r9,r10,r12
	divu	r8,r9,r0
	bfextu	r10,r11,+00000000,+00000010
	mul	r5,r8,r5
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,r5
	brcc	000108FA

l000108E2:
	add	r11,lr
	sub	r12,00000001
	cp.w	r11,lr
	brcs	000108FA

l000108EA:
	sub	r8,r12,00000001
	add	r9,r11,lr
	cp.w	r11,r5
	brcc	000108FA

l000108F6:
	mov	r12,r8
	mov	r11,r9

l000108FA:
	lsl	r1,r1,r2
	sub	r11,r5
	or	r2,r12,r3<<16

l00010904:
	lsr	r3,lr,00000010
	divu	r8,r11,r3
	bfextu	r0,lr,+00000000,+00000010
	lsr	r10,r1,00000010
	mul	r12,r8,r0
	or	r11,r10,r9<<16
	mov	r5,r8
	cp.w	r11,r12
	brcc	0001093A

l00010922:
	add	r11,lr
	sub	r5,00000001
	cp.w	r11,lr
	brcs	0001093A

l0001092A:
	sub	r8,r5,00000001
	add	r9,r11,lr
	cp.w	r11,r12
	brcc	0001093A

l00010936:
	mov	r5,r8
	mov	r11,r9

l0001093A:
	sub	r9,r11,r12
	divu	r8,r9,r3
	bfextu	r10,r1,+00000000,+00000010
	mul	r3,r8,r0
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,r3
	brcc	00010966

l00010954:
	add	r11,lr
	sub	r12,00000001
	cp.w	r11,lr
	brcs	00010966

l0001095C:
	sub	r8,r12,00000001
	cp.w	r11,r3
	movcs	r12,r8

l00010966:
	or	r12,r12,r5<<16
	rjmp	00010A44

l0001096C:
	cp.w	r9,r11
	brhi	00010A40

l00010972:
	clz	r2,r9
	brne	00010986

l00010978:
	cp.w	r11,r9
	brhi	00010982

l0001097E:
	cp.w	r10,r8
	brcs	00010A40

l00010982:
	mov	r12,00000001
	rjmp	00010A44

l00010986:
	rsub	r10,r2,00000020
	lsr	r8,r8,r10
	lsl	r9,r9,r2
	or	lr,r8,r9
	lsr	r0,lr,00000010
	lsr	r9,r11,r10
	divu	r8,r9,r0
	lsr	r10,r1,r10
	lsl	r11,r11,r2
	bfextu	r5,lr,+00000000,+00000010
	or	r11,r10,r11
	lsl	r3,r3,r2
	lsr	r10,r11,00000010
	st.w	r7[-4],r3
	mul	r12,r8,r5
	or	r10,r10,r9<<16
	mov	r3,r8
	cp.w	r10,r12
	brcc	000109E4

l000109CC:
	add	r10,lr
	sub	r3,00000001
	cp.w	r10,lr
	brcs	000109E4

l000109D4:
	sub	r8,r3,00000001
	add	r9,r10,lr
	cp.w	r10,r12
	brcc	000109E4

l000109E0:
	mov	r3,r8
	mov	r10,r9

l000109E4:
	sub	r9,r10,r12
	divu	r8,r9,r0
	bfextu	r10,r11,+00000000,+00000010
	mul	r5,r8,r5
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,r5
	brcc	00010A16

l000109FE:
	add	r11,lr
	sub	r12,00000001
	cp.w	r11,lr
	brcs	00010A16

l00010A06:
	add	r9,r11,lr
	sub	r8,r12,00000001
	cp.w	r11,r5
	brcc	00010A16

l00010A12:
	mov	r12,r8
	mov	r11,r9

l00010A16:
	ld.w	r10,r7[-4]
	or	r12,r12,r3<<16
	mulu.d	r8,r12,r10
	sub	r11,r5
	mov	lr,r9
	mov	r9,r8
	cp.w	lr,r11
	brhi	00010A3A

l00010A2E:
	brne	00010A3C

l00010A30:
	lsl	r8,r1,r2
	cp.w	r9,r8
	brls	00010A3C

l00010A3A:
	sub	r12,00000001

l00010A3C:
	mov	r2,00000000
	rjmp	00010A44

l00010A40:
	mov	r12,00000000
	mov	r2,r12

l00010A44:
	mov	r11,r2
	mov	r10,r12
	sub	sp,FFFFFFFC
	popm	r0-r3,r4-r7,pc

;; fn00010A4C: 00010A4C
;;   Called from:
;;     00009460 (in fn000093B8)
;;     000094C0 (in fn000093B8)
;;     000094E2 (in fn000093B8)
;;     000094F8 (in fn000093B8)
;;     000096DC (in fn000093B8)
;;     00009868 (in fn000093B8)
;;     0000B7EE (in fn0000B7D4)
fn00010A4C proc
	pushm	r0-r3,r4-r7,lr
	mov	r7,sp
	sub	sp,00000014
	mov	r5,00000000
	mov	r4,00000000
	st.d	r7[-20],r5:r4
	mov	r3,r8
	st.w	r7[-8],r10
	mov	lr,r8
	mov	r12,r9
	mov	r2,r10
	mov	r5,r11
	mov	r1,r11
	cp.w	r9,00000000
	brne	00010BD0

l00010A70:
	cp.w	r8,r11
	brls	00010AD8

l00010A76:
	clz	r0,r8
	breq	00010A98

l00010A7C:
	rsub	r8,r0,00000020
	lsr	r8,r10,r8
	lsl	r9,r11,r0
	lsl	r2,r10,r0
	or	r1,r8,r9
	lsl	lr,r3,r0
	st.w	r7[-8],r2

l00010A98:
	lsr	r5,lr,00000010
	divu	r8,r1,r5
	bfextu	r3,lr,+00000000,+00000010
	ld.w	r10,r7[-8]
	lsr	r10,+00000010
	mul	r12,r3,r8
	or	r11,r10,r9<<16
	cp.w	r11,r12
	brcc	00010AC6

l00010AB6:
	add	r11,lr
	cp.w	r11,lr
	brcs	00010AC6

l00010ABC:
	add	r8,r11,lr
	cp.w	r11,r12
	movcs	r11,r8

l00010AC6:
	sub	r9,r11,r12
	divu	r8,r9,r5
	ld.w	r4,r7[-8]
	bfextu	r10,r4,+00000000,+00000010
	rjmp	00010BA6

l00010AD8:
	cp.w	r8,00000000
	brne	00010AE4

l00010ADC:
	mov	r9,00000001
	divu	r8,r9,r8
	mov	lr,r8

l00010AE4:
	clz	r0,lr
	brne	00010AF0

l00010AEA:
	sub	r11,r5,lr
	rjmp	00010B68

l00010AF0:
	lsl	lr,lr,r0
	rsub	r10,r0,00000020
	lsr	r9,r5,r10
	lsr	r3,lr,00000010
	divu	r8,r9,r3
	lsr	r10,r2,r10
	lsl	r11,r5,r0
	bfextu	r5,lr,+00000000,+00000010
	or	r11,r10,r11
	lsr	r10,r11,00000010
	mul	r12,r5,r8
	or	r9,r10,r9<<16
	cp.w	r9,r12
	brcc	00010B34

l00010B24:
	add	r9,lr
	cp.w	r9,lr
	brcs	00010B34

l00010B2A:
	add	r8,r9,lr
	cp.w	r9,r12
	movcs	r9,r8

l00010B34:
	sub	r9,r12
	divu	r8,r9,r3
	bfextu	r10,r11,+00000000,+00000010
	mul	r12,r5,r8
	or	r11,r10,r9<<16
	cp.w	r11,r12
	brcc	00010B5A

l00010B4A:
	add	r11,lr
	cp.w	r11,lr
	brcs	00010B5A

l00010B50:
	add	r8,r11,lr
	cp.w	r11,r12
	movcs	r11,r8

l00010B5A:
	sub	r11,r12
	ld.w	r12,r7[-8]
	lsl	r12,r12,r0
	st.w	r7[-8],r12

l00010B68:
	lsr	r5,lr,00000010
	divu	r8,r11,r5
	bfextu	r3,lr,+00000000,+00000010
	ld.w	r10,r7[-8]
	lsr	r10,+00000010
	mul	r12,r3,r8
	or	r11,r10,r9<<16
	cp.w	r11,r12
	brcc	00010B96

l00010B86:
	add	r11,lr
	cp.w	r11,lr
	brcs	00010B96

l00010B8C:
	add	r8,r11,lr
	cp.w	r11,r12
	movcs	r11,r8

l00010B96:
	sub	r9,r11,r12
	divu	r8,r9,r5
	ld.w	r11,r7[-8]
	bfextu	r10,r11,+00000000,+00000010

l00010BA6:
	mul	r12,r3,r8
	or	r11,r10,r9<<16
	cp.w	r11,r12
	brcc	00010BC2

l00010BB2:
	add	r11,lr
	cp.w	r11,lr
	brcs	00010BC2

l00010BB8:
	add	r8,r11,lr
	cp.w	r11,r12
	movcs	r11,r8

l00010BC2:
	sub	r11,r12
	lsr	r11,r11,r0
	mov	r10,00000000
	st.w	r7[-16],r11
	rjmp	00010CEE

l00010BD0:
	cp.w	r9,r11
	brls	00010BE0

l00010BD6:
	st.w	r7[-16],r10
	st.w	r7[-20],r11
	rjmp	00010CF2

l00010BE0:
	clz	r0,r9
	brne	00010C0A

l00010BE6:
	cp.w	r11,r9
	brhi	00010BF0

l00010BEC:
	cp.w	r10,r8
	brcs	00010BFC

l00010BF0:
	sub	r4,r2,r3
	sbc	r1,r5,r12
	st.w	r7[-8],r4

l00010BFC:
	ld.w	r12,r7[-8]
	st.w	r7[-16],r12
	st.w	r7[-20],r1
	rjmp	00010CF2

l00010C0A:
	rsub	r11,r0,00000020
	lsr	r8,r8,r11
	lsl	r9,r9,r0
	or	lr,r8,r9
	lsr	r10,lr,00000010
	lsr	r9,r5,r11
	divu	r8,r9,r10
	st.w	r7[-4],r11
	lsl	r11,r5,r0
	ld.w	r5,r7[-4]
	st.w	r7[-12],r10
	lsr	r10,r2,r5
	bfextu	r5,lr,+00000000,+00000010
	or	r11,r10,r11
	lsr	r10,r11,00000010
	lsl	r1,r3,r0
	lsl	r2,r2,r0
	mul	r12,r8,r5
	or	r10,r10,r9<<16
	mov	r3,r8
	cp.w	r10,r12
	brcc	00010C74

l00010C5C:
	add	r10,lr
	sub	r3,00000001
	cp.w	r10,lr
	brcs	00010C74

l00010C64:
	sub	r8,r3,00000001
	add	r9,r10,lr
	cp.w	r10,r12
	brcc	00010C74

l00010C70:
	mov	r3,r8
	mov	r10,r9

l00010C74:
	ld.w	r4,r7[-12]
	sub	r9,r10,r12
	divu	r8,r9,r4
	bfextu	r10,r11,+00000000,+00000010
	mul	r5,r8,r5
	or	r11,r10,r9<<16
	mov	r12,r8
	cp.w	r11,r5
	brcc	00010CAA

l00010C92:
	add	r11,lr
	sub	r12,00000001
	cp.w	r11,lr
	brcs	00010CAA

l00010C9A:
	sub	r8,r12,00000001
	add	r9,r11,lr
	cp.w	r11,r5
	brcc	00010CAA

l00010CA6:
	mov	r12,r8
	mov	r11,r9

l00010CAA:
	or	r9,r12,r3<<16
	mulu.d	r8,r9,r1
	sub	r11,r5
	mov	r12,r9
	mov	r9,r8
	cp.w	r12,r11
	brhi	00010CC6

l00010CBE:
	brne	00010CD0

l00010CC0:
	cp.w	r8,r2
	brls	00010CD0

l00010CC6:
	sub	r10,r9,r1
	sbc	r12,r12,lr
	mov	r9,r10

l00010CD0:
	ld.w	r5,r7[-4]
	sub	r8,r2,r9
	sbc	r10,r11,r12
	lsl	r9,r10,r5
	lsr	r8,r8,r0
	or	r8,r9
	lsr	r10,r10,r0
	st.w	r7[-16],r8

l00010CEE:
	st.w	r7[-20],r10

l00010CF2:
	ld.d	r11:r10,r7[-20]
	sub	sp,FFFFFFEC
	popm	r0-r3,r4-r7,pc
00010CFA                               D7 03                       ..   

;; fn00010CFC: 00010CFC
;;   Called from:
;;     0000D6DE (in fn0000D220)
;;     0000D9BA (in fn0000D220)
;;     0000F288 (in fn0000F278)
fn00010CFC proc
	pushm	r4-r7,lr
	sub	sp,00000038
	lddpc	r6,pc[52]
	rsub	r6,pc
	st.d	sp[48],r11:r10
	sub	r12,sp,FFFFFFD0
	sub	r11,sp,FFFFFFEC
	st.d	sp[40],r9:r8
	rcall	00010D38
	mov	r11,sp
	sub	r12,sp,FFFFFFD8
	rcall	00010D38
	lddsp	r8,sp[20]
	cp.w	r8,00000001
	brhi	00010D2A

l00010D26:
	mov	r12,00000001
	rjmp	00010D30

l00010D2A:
	lddsp	r8,sp[0]
	cp.w	r8,00000001
	srls	r12

l00010D30:
	sub	sp,FFFFFFC8
	popm	r4-r7,pc
00010D34             FF FF BD 12                             ....       

;; fn00010D38: 00010D38
;;   Called from:
;;     00010D14 (in fn00010CFC)
;;     00010D1C (in fn00010CFC)
fn00010D38 proc
	pushm	r0-r3,lr
	ld.d	r3:r2,r12[0]
	mov	r12,r11
	lsr	r8,r3,0000001F
	bfextu	r10,r8,+00000000,+00000001
	lsr	r8,r3,00000014
	bfextu	lr,r8,+00000000,+0000000B
	ld.d	r9:r8,pc[160]
	st.w	r11[4],r10
	and	r2,r8
	and	r3,r9
	cp.w	lr,00000000
	brne	00010DA0

l00010D5E:
	cp.w	r2,00000000
	cpc	r3
	brne	00010D68

l00010D64:
	mov	r8,00000002
	rjmp	00010DEA

l00010D68:
	mov	r8,FFFFFC02
	lsl	r11,r3,00000008
	st.w	r12[8],r8
	or	r11,r11,r2>>24
	mov	r8,00000003
	lsl	r10,r2,00000008
	st.w	r12[0],r8
	rjmp	00010D8C

l00010D80:
	ld.w	r8,r12[8]
	add	r10,r10
	adc	r11,r11,r11
	sub	r8,00000001
	st.w	r12[8],r8

l00010D8C:
	ld.d	r9:r8,pc[108]
	cp.w	r10,r8
	cpc	r11,r9
	brls	00010D80

l00010D9A:
	st.d	r12[12],r11:r10
	popm	r0-r3,pc

l00010DA0:
	cp.w	lr,000007FF
	brne	00010DCC

l00010DA6:
	cp.w	r2,00000000
	cpc	r3
	brne	00010DB0

l00010DAC:
	mov	r8,00000004
	rjmp	00010DEA

l00010DB0:
	ld.d	r9:r8,pc[80]
	and	r8,r2
	and	r9,r3
	cp.w	r8,00000000
	cpc	r9
	breq	00010DC2

l00010DBE:
	mov	r8,00000001
	rjmp	00010DC4

l00010DC2:
	mov	r8,00000000

l00010DC4:
	st.w	r12[0],r8
	st.d	r12[12],r3:r2
	popm	r0-r3,pc

l00010DCC:
	ld.d	r11:r10,pc[60]
	lsl	r9,r3,00000008
	or	r9,r9,r2>>24
	or	r8,r10,r2<<8
	or	r9,r11
	sub	r10,lr,000003FF
	st.d	r12[12],r9:r8
	mov	r8,00000003
	st.w	r12[8],r10

l00010DEA:
	st.w	r12[0],r8
	popm	r0-r3,pc
00010DEE                                           D7 03               ..
00010DF0 00 0F FF FF FF FF FF FF 0F FF FF FF FF FF FF FF ................
00010E00 00 08 00 00 00 00 00 00 10 00 00 00 00 00 00 00 ................

;; fn00010E10: 00010E10
fn00010E10 proc
	pushm	r4-r7,lr
	lddpc	r6,pc[28]
	rsub	r6,pc
	ld.w	r8,r6[600]
	sub	r7,r8,00000004
	rjmp	00010E22

l00010E20:
	icall	r8

l00010E22:
	ld.w	r8,r7[0]
	sub	r7,00000004
	cp.w	r8,FFFFFFFF
	brne	00010E20

l00010E2A:
	popm	r4-r7,pc
00010E2C                                     FF FF BE 24             ...$
00010E30 EB CD 40 40 48 26 1E 26 C0 48 D7 03 FF FF BE 46 ..@@H&.&.H.....F
00010E40 FE B0 8C 40 E3 CD 80 40 54 72 79 20 60 25 73 20 ...@...@Try `%s 
00010E50 2D 2D 68 65 6C 70 27 20 66 6F 72 20 6D 6F 72 65 --help' for more
00010E60 20 69 6E 66 6F 72 6D 61 74 69 6F 6E 2E 0A 00 00  information....
00010E70 55 73 61 67 65 3A 20 25 73 20 5B 4F 50 54 49 4F Usage: %s [OPTIO
00010E80 4E 5D 2E 2E 2E 20 5B 46 49 4C 45 5D 2E 2E 2E 0A N]... [FILE]....
00010E90 00 00 00 00 4C 69 73 74 20 69 6E 66 6F 72 6D 61 ....List informa
00010EA0 74 69 6F 6E 20 61 62 6F 75 74 20 74 68 65 20 46 tion about the F
00010EB0 49 4C 45 73 20 28 74 68 65 20 63 75 72 72 65 6E ILEs (the curren
00010EC0 74 20 64 69 72 65 63 74 6F 72 79 20 62 79 20 64 t directory by d
00010ED0 65 66 61 75 6C 74 29 2E 0A 53 6F 72 74 20 65 6E efault)..Sort en
00010EE0 74 72 69 65 73 20 61 6C 70 68 61 62 65 74 69 63 tries alphabetic
00010EF0 61 6C 6C 79 20 69 66 20 6E 6F 6E 65 20 6F 66 20 ally if none of 
00010F00 2D 63 66 74 75 76 53 55 58 20 6E 6F 72 20 2D 2D -cftuvSUX nor --
00010F10 73 6F 72 74 2E 0A 0A 00 4D 61 6E 64 61 74 6F 72 sort....Mandator
00010F20 79 20 61 72 67 75 6D 65 6E 74 73 20 74 6F 20 6C y arguments to l
00010F30 6F 6E 67 20 6F 70 74 69 6F 6E 73 20 61 72 65 20 ong options are 
00010F40 6D 61 6E 64 61 74 6F 72 79 20 66 6F 72 20 73 68 mandatory for sh
00010F50 6F 72 74 20 6F 70 74 69 6F 6E 73 20 74 6F 6F 2E ort options too.
00010F60 0A 00 00 00 20 20 2D 61 2C 20 2D 2D 61 6C 6C 20 ....  -a, --all 
00010F70 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00010F80 20 64 6F 20 6E 6F 74 20 69 67 6E 6F 72 65 20 65  do not ignore e
00010F90 6E 74 72 69 65 73 20 73 74 61 72 74 69 6E 67 20 ntries starting 
00010FA0 77 69 74 68 20 2E 0A 20 20 2D 41 2C 20 2D 2D 61 with ..  -A, --a
00010FB0 6C 6D 6F 73 74 2D 61 6C 6C 20 20 20 20 20 20 20 lmost-all       
00010FC0 20 20 20 20 64 6F 20 6E 6F 74 20 6C 69 73 74 20     do not list 
00010FD0 69 6D 70 6C 69 65 64 20 2E 20 61 6E 64 20 2E 2E implied . and ..
00010FE0 0A 20 20 20 20 20 20 2D 2D 61 75 74 68 6F 72 20 .      --author 
00010FF0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69               wi
00011000 74 68 20 2D 6C 2C 20 70 72 69 6E 74 20 74 68 65 th -l, print the
00011010 20 61 75 74 68 6F 72 20 6F 66 20 65 61 63 68 20  author of each 
00011020 66 69 6C 65 0A 20 20 2D 62 2C 20 2D 2D 65 73 63 file.  -b, --esc
00011030 61 70 65 20 20 20 20 20 20 20 20 20 20 20 20 20 ape             
00011040 20 20 70 72 69 6E 74 20 6F 63 74 61 6C 20 65 73   print octal es
00011050 63 61 70 65 73 20 66 6F 72 20 6E 6F 6E 67 72 61 capes for nongra
00011060 70 68 69 63 20 63 68 61 72 61 63 74 65 72 73 0A phic characters.
00011070 00 00 00 00 20 20 20 20 20 20 2D 2D 62 6C 6F 63 ....      --bloc
00011080 6B 2D 73 69 7A 65 3D 53 49 5A 45 20 20 20 20 20 k-size=SIZE     
00011090 20 75 73 65 20 53 49 5A 45 2D 62 79 74 65 20 62  use SIZE-byte b
000110A0 6C 6F 63 6B 73 0A 20 20 2D 42 2C 20 2D 2D 69 67 locks.  -B, --ig
000110B0 6E 6F 72 65 2D 62 61 63 6B 75 70 73 20 20 20 20 nore-backups    
000110C0 20 20 20 64 6F 20 6E 6F 74 20 6C 69 73 74 20 69    do not list i
000110D0 6D 70 6C 69 65 64 20 65 6E 74 72 69 65 73 20 65 mplied entries e
000110E0 6E 64 69 6E 67 20 77 69 74 68 20 7E 0A 20 20 2D nding with ~.  -
000110F0 63 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 c               
00011100 20 20 20 20 20 20 20 20 20 20 77 69 74 68 20 2D           with -
00011110 6C 74 3A 20 73 6F 72 74 20 62 79 2C 20 61 6E 64 lt: sort by, and
00011120 20 73 68 6F 77 2C 20 63 74 69 6D 65 20 28 74 69  show, ctime (ti
00011130 6D 65 20 6F 66 20 6C 61 73 74 0A 20 20 20 20 20 me of last.     
00011140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011150 20 20 20 20 20 20 20 20 20 20 6D 6F 64 69 66 69           modifi
00011160 63 61 74 69 6F 6E 20 6F 66 20 66 69 6C 65 20 73 cation of file s
00011170 74 61 74 75 73 20 69 6E 66 6F 72 6D 61 74 69 6F tatus informatio
00011180 6E 29 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 n).             
00011190 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000111A0 20 20 77 69 74 68 20 2D 6C 3A 20 73 68 6F 77 20   with -l: show 
000111B0 63 74 69 6D 65 20 61 6E 64 20 73 6F 72 74 20 62 ctime and sort b
000111C0 79 20 6E 61 6D 65 0A 20 20 20 20 20 20 20 20 20 y name.         
000111D0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000111E0 20 20 20 20 20 20 6F 74 68 65 72 77 69 73 65 3A       otherwise:
000111F0 20 73 6F 72 74 20 62 79 20 63 74 69 6D 65 0A 00  sort by ctime..
00011200 20 20 2D 43 20 20 20 20 20 20 20 20 20 20 20 20   -C            
00011210 20 20 20 20 20 20 20 20 20 20 20 20 20 6C 69 73              lis
00011220 74 20 65 6E 74 72 69 65 73 20 62 79 20 63 6F 6C t entries by col
00011230 75 6D 6E 73 0A 20 20 20 20 20 20 2D 2D 63 6F 6C umns.      --col
00011240 6F 72 5B 3D 57 48 45 4E 5D 20 20 20 20 20 20 20 or[=WHEN]       
00011250 20 20 63 6F 6E 74 72 6F 6C 20 77 68 65 74 68 65   control whethe
00011260 72 20 63 6F 6C 6F 72 20 69 73 20 75 73 65 64 20 r color is used 
00011270 74 6F 20 64 69 73 74 69 6E 67 75 69 73 68 20 66 to distinguish f
00011280 69 6C 65 0A 20 20 20 20 20 20 20 20 20 20 20 20 ile.            
00011290 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000112A0 20 20 20 74 79 70 65 73 2E 20 20 57 48 45 4E 20    types.  WHEN 
000112B0 6D 61 79 20 62 65 20 60 6E 65 76 65 72 27 2C 20 may be `never', 
000112C0 60 61 6C 77 61 79 73 27 2C 20 6F 72 20 60 61 75 `always', or `au
000112D0 74 6F 27 0A 20 20 2D 64 2C 20 2D 2D 64 69 72 65 to'.  -d, --dire
000112E0 63 74 6F 72 79 20 20 20 20 20 20 20 20 20 20 20 ctory           
000112F0 20 6C 69 73 74 20 64 69 72 65 63 74 6F 72 79 20  list directory 
00011300 65 6E 74 72 69 65 73 20 69 6E 73 74 65 61 64 20 entries instead 
00011310 6F 66 20 63 6F 6E 74 65 6E 74 73 2C 0A 20 20 20 of contents,.   
00011320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011330 20 20 20 20 20 20 20 20 20 20 20 20 61 6E 64 20             and 
00011340 64 6F 20 6E 6F 74 20 64 65 72 65 66 65 72 65 6E do not dereferen
00011350 63 65 20 73 79 6D 62 6F 6C 69 63 20 6C 69 6E 6B ce symbolic link
00011360 73 0A 20 20 2D 44 2C 20 2D 2D 64 69 72 65 64 20 s.  -D, --dired 
00011370 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67                g
00011380 65 6E 65 72 61 74 65 20 6F 75 74 70 75 74 20 64 enerate output d
00011390 65 73 69 67 6E 65 64 20 66 6F 72 20 45 6D 61 63 esigned for Emac
000113A0 73 27 20 64 69 72 65 64 20 6D 6F 64 65 0A 00 00 s' dired mode...
000113B0 20 20 2D 66 20 20 20 20 20 20 20 20 20 20 20 20   -f            
000113C0 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6F 20              do 
000113D0 6E 6F 74 20 73 6F 72 74 2C 20 65 6E 61 62 6C 65 not sort, enable
000113E0 20 2D 61 55 2C 20 64 69 73 61 62 6C 65 20 2D 6C  -aU, disable -l
000113F0 73 20 2D 2D 63 6F 6C 6F 72 0A 20 20 2D 46 2C 20 s --color.  -F, 
00011400 2D 2D 63 6C 61 73 73 69 66 79 20 20 20 20 20 20 --classify      
00011410 20 20 20 20 20 20 20 61 70 70 65 6E 64 20 69 6E        append in
00011420 64 69 63 61 74 6F 72 20 28 6F 6E 65 20 6F 66 20 dicator (one of 
00011430 2A 2F 3D 3E 40 7C 29 20 74 6F 20 65 6E 74 72 69 */=>@|) to entri
00011440 65 73 0A 20 20 20 20 20 20 2D 2D 66 69 6C 65 2D es.      --file-
00011450 74 79 70 65 20 20 20 20 20 20 20 20 20 20 20 20 type            
00011460 6C 69 6B 65 77 69 73 65 2C 20 65 78 63 65 70 74 likewise, except
00011470 20 64 6F 20 6E 6F 74 20 61 70 70 65 6E 64 20 60  do not append `
00011480 2A 27 0A 20 20 20 20 20 20 2D 2D 66 6F 72 6D 61 *'.      --forma
00011490 74 3D 57 4F 52 44 20 20 20 20 20 20 20 20 20 20 t=WORD          
000114A0 61 63 72 6F 73 73 20 2D 78 2C 20 63 6F 6D 6D 61 across -x, comma
000114B0 73 20 2D 6D 2C 20 68 6F 72 69 7A 6F 6E 74 61 6C s -m, horizontal
000114C0 20 2D 78 2C 20 6C 6F 6E 67 20 2D 6C 2C 0A 20 20  -x, long -l,.  
000114D0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000114E0 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 6E              sin
000114F0 67 6C 65 2D 63 6F 6C 75 6D 6E 20 2D 31 2C 20 76 gle-column -1, v
00011500 65 72 62 6F 73 65 20 2D 6C 2C 20 76 65 72 74 69 erbose -l, verti
00011510 63 61 6C 20 2D 43 0A 20 20 20 20 20 20 2D 2D 66 cal -C.      --f
00011520 75 6C 6C 2D 74 69 6D 65 20 20 20 20 20 20 20 20 ull-time        
00011530 20 20 20 20 6C 69 6B 65 20 2D 6C 20 2D 2D 74 69     like -l --ti
00011540 6D 65 2D 73 74 79 6C 65 3D 66 75 6C 6C 2D 69 73 me-style=full-is
00011550 6F 0A 00 00 20 20 2D 67 20 20 20 20 20 20 20 20 o...  -g        
00011560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011570 20 6C 69 6B 65 20 2D 6C 2C 20 62 75 74 20 64 6F  like -l, but do
00011580 20 6E 6F 74 20 6C 69 73 74 20 6F 77 6E 65 72 0A  not list owner.
00011590 00 00 00 00 20 20 20 20 20 20 2D 2D 67 72 6F 75 ....      --grou
000115A0 70 2D 64 69 72 65 63 74 6F 72 69 65 73 2D 66 69 p-directories-fi
000115B0 72 73 74 0A 20 20 20 20 20 20 20 20 20 20 20 20 rst.            
000115C0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000115D0 20 67 72 6F 75 70 20 64 69 72 65 63 74 6F 72 69  group directori
000115E0 65 73 20 62 65 66 6F 72 65 20 66 69 6C 65 73 2E es before files.
000115F0 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .               
00011600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011610 61 75 67 6D 65 6E 74 20 77 69 74 68 20 61 20 2D augment with a -
00011620 2D 73 6F 72 74 20 6F 70 74 69 6F 6E 2C 20 62 75 -sort option, bu
00011630 74 20 61 6E 79 0A 20 20 20 20 20 20 20 20 20 20 t any.          
00011640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011650 20 20 20 20 20 75 73 65 20 6F 66 20 2D 2D 73 6F      use of --so
00011660 72 74 3D 6E 6F 6E 65 20 28 2D 55 29 20 64 69 73 rt=none (-U) dis
00011670 61 62 6C 65 73 20 67 72 6F 75 70 69 6E 67 0A 00 ables grouping..
00011680 20 20 2D 47 2C 20 2D 2D 6E 6F 2D 67 72 6F 75 70   -G, --no-group
00011690 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6E 20              in 
000116A0 61 20 6C 6F 6E 67 20 6C 69 73 74 69 6E 67 2C 20 a long listing, 
000116B0 64 6F 6E 27 74 20 70 72 69 6E 74 20 67 72 6F 75 don't print grou
000116C0 70 20 6E 61 6D 65 73 0A 20 20 2D 68 2C 20 2D 2D p names.  -h, --
000116D0 68 75 6D 61 6E 2D 72 65 61 64 61 62 6C 65 20 20 human-readable  
000116E0 20 20 20 20 20 77 69 74 68 20 2D 6C 2C 20 70 72      with -l, pr
000116F0 69 6E 74 20 73 69 7A 65 73 20 69 6E 20 68 75 6D int sizes in hum
00011700 61 6E 20 72 65 61 64 61 62 6C 65 20 66 6F 72 6D an readable form
00011710 61 74 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 at.             
00011720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011730 20 20 28 65 2E 67 2E 2C 20 31 4B 20 32 33 34 4D   (e.g., 1K 234M
00011740 20 32 47 29 0A 20 20 20 20 20 20 2D 2D 73 69 20  2G).      --si 
00011750 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011760 20 20 6C 69 6B 65 77 69 73 65 2C 20 62 75 74 20   likewise, but 
00011770 75 73 65 20 70 6F 77 65 72 73 20 6F 66 20 31 30 use powers of 10
00011780 30 30 20 6E 6F 74 20 31 30 32 34 0A 00 00 00 00 00 not 1024.....
00011790 20 20 2D 48 2C 20 2D 2D 64 65 72 65 66 65 72 65   -H, --derefere
000117A0 6E 63 65 2D 63 6F 6D 6D 61 6E 64 2D 6C 69 6E 65 nce-command-line
000117B0 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .               
000117C0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6F               fo
000117D0 6C 6C 6F 77 20 73 79 6D 62 6F 6C 69 63 20 6C 69 llow symbolic li
000117E0 6E 6B 73 20 6C 69 73 74 65 64 20 6F 6E 20 74 68 nks listed on th
000117F0 65 20 63 6F 6D 6D 61 6E 64 20 6C 69 6E 65 0A 20 e command line. 
00011800 20 20 20 20 20 2D 2D 64 65 72 65 66 65 72 65 6E      --dereferen
00011810 63 65 2D 63 6F 6D 6D 61 6E 64 2D 6C 69 6E 65 2D ce-command-line-
00011820 73 79 6D 6C 69 6E 6B 2D 74 6F 2D 64 69 72 0A 20 symlink-to-dir. 
00011830 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011840 20 20 20 20 20 20 20 20 20 20 20 20 66 6F 6C 6C             foll
00011850 6F 77 20 65 61 63 68 20 63 6F 6D 6D 61 6E 64 20 ow each command 
00011860 6C 69 6E 65 20 73 79 6D 62 6F 6C 69 63 20 6C 69 line symbolic li
00011870 6E 6B 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 nk.             
00011880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011890 74 68 61 74 20 70 6F 69 6E 74 73 20 74 6F 20 61 that points to a
000118A0 20 64 69 72 65 63 74 6F 72 79 0A 20 20 20 20 20  directory.     
000118B0 20 2D 2D 68 69 64 65 3D 50 41 54 54 45 52 4E 20  --hide=PATTERN 
000118C0 20 20 20 20 20 20 20 20 64 6F 20 6E 6F 74 20 6C         do not l
000118D0 69 73 74 20 69 6D 70 6C 69 65 64 20 65 6E 74 72 ist implied entr
000118E0 69 65 73 20 6D 61 74 63 68 69 6E 67 20 73 68 65 ies matching she
000118F0 6C 6C 20 50 41 54 54 45 52 4E 0A 20 20 20 20 20 ll PATTERN.     
00011900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011910 20 20 20 20 20 20 20 20 20 20 28 6F 76 65 72 72           (overr
00011920 69 64 64 65 6E 20 62 79 20 2D 61 20 6F 72 20 2D idden by -a or -
00011930 41 29 0A 00 20 20 20 20 20 20 2D 2D 69 6E 64 69 A)..      --indi
00011940 63 61 74 6F 72 2D 73 74 79 6C 65 3D 57 4F 52 44 cator-style=WORD
00011950 20 20 61 70 70 65 6E 64 20 69 6E 64 69 63 61 74   append indicat
00011960 6F 72 20 77 69 74 68 20 73 74 79 6C 65 20 57 4F or with style WO
00011970 52 44 20 74 6F 20 65 6E 74 72 79 20 6E 61 6D 65 RD to entry name
00011980 73 3A 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 s:.             
00011990 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000119A0 20 20 6E 6F 6E 65 20 28 64 65 66 61 75 6C 74 29   none (default)
000119B0 2C 20 73 6C 61 73 68 20 28 2D 70 29 2C 0A 20 20 , slash (-p),.  
000119C0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000119D0 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6C              fil
000119E0 65 2D 74 79 70 65 20 28 2D 2D 66 69 6C 65 2D 74 e-type (--file-t
000119F0 79 70 65 29 2C 20 63 6C 61 73 73 69 66 79 20 28 ype), classify (
00011A00 2D 46 29 0A 20 20 2D 69 2C 20 2D 2D 69 6E 6F 64 -F).  -i, --inod
00011A10 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e               
00011A20 20 70 72 69 6E 74 20 74 68 65 20 69 6E 64 65 78  print the index
00011A30 20 6E 75 6D 62 65 72 20 6F 66 20 65 61 63 68 20  number of each 
00011A40 66 69 6C 65 0A 20 20 2D 49 2C 20 2D 2D 69 67 6E file.  -I, --ign
00011A50 6F 72 65 3D 50 41 54 54 45 52 4E 20 20 20 20 20 ore=PATTERN     
00011A60 20 20 64 6F 20 6E 6F 74 20 6C 69 73 74 20 69 6D   do not list im
00011A70 70 6C 69 65 64 20 65 6E 74 72 69 65 73 20 6D 61 plied entries ma
00011A80 74 63 68 69 6E 67 20 73 68 65 6C 6C 20 50 41 54 tching shell PAT
00011A90 54 45 52 4E 0A 20 20 2D 6B 20 20 20 20 20 20 20 TERN.  -k       
00011AA0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011AB0 20 20 6C 69 6B 65 20 2D 2D 62 6C 6F 63 6B 2D 73   like --block-s
00011AC0 69 7A 65 3D 31 4B 0A 00 20 20 2D 6C 20 20 20 20 ize=1K..  -l    
00011AD0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011AE0 20 20 20 20 20 75 73 65 20 61 20 6C 6F 6E 67 20      use a long 
00011AF0 6C 69 73 74 69 6E 67 20 66 6F 72 6D 61 74 0A 20 listing format. 
00011B00 20 2D 4C 2C 20 2D 2D 64 65 72 65 66 65 72 65 6E  -L, --dereferen
00011B10 63 65 20 20 20 20 20 20 20 20 20 20 77 68 65 6E ce          when
00011B20 20 73 68 6F 77 69 6E 67 20 66 69 6C 65 20 69 6E  showing file in
00011B30 66 6F 72 6D 61 74 69 6F 6E 20 66 6F 72 20 61 20 formation for a 
00011B40 73 79 6D 62 6F 6C 69 63 0A 20 20 20 20 20 20 20 symbolic.       
00011B50 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011B60 20 20 20 20 20 20 20 20 6C 69 6E 6B 2C 20 73 68         link, sh
00011B70 6F 77 20 69 6E 66 6F 72 6D 61 74 69 6F 6E 20 66 ow information f
00011B80 6F 72 20 74 68 65 20 66 69 6C 65 20 74 68 65 20 or the file the 
00011B90 6C 69 6E 6B 0A 20 20 20 20 20 20 20 20 20 20 20 link.           
00011BA0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011BB0 20 20 20 20 72 65 66 65 72 65 6E 63 65 73 20 72     references r
00011BC0 61 74 68 65 72 20 74 68 61 6E 20 66 6F 72 20 74 ather than for t
00011BD0 68 65 20 6C 69 6E 6B 20 69 74 73 65 6C 66 0A 20 he link itself. 
00011BE0 20 2D 6D 20 20 20 20 20 20 20 20 20 20 20 20 20  -m             
00011BF0 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6C 6C             fill
00011C00 20 77 69 64 74 68 20 77 69 74 68 20 61 20 63 6F  width with a co
00011C10 6D 6D 61 20 73 65 70 61 72 61 74 65 64 20 6C 69 mma separated li
00011C20 73 74 20 6F 66 20 65 6E 74 72 69 65 73 0A 00 00 st of entries...
00011C30 20 20 2D 6E 2C 20 2D 2D 6E 75 6D 65 72 69 63 2D   -n, --numeric-
00011C40 75 69 64 2D 67 69 64 20 20 20 20 20 20 6C 69 6B uid-gid      lik
00011C50 65 20 2D 6C 2C 20 62 75 74 20 6C 69 73 74 20 6E e -l, but list n
00011C60 75 6D 65 72 69 63 20 75 73 65 72 20 61 6E 64 20 umeric user and 
00011C70 67 72 6F 75 70 20 49 44 73 0A 20 20 2D 4E 2C 20 group IDs.  -N, 
00011C80 2D 2D 6C 69 74 65 72 61 6C 20 20 20 20 20 20 20 --literal       
00011C90 20 20 20 20 20 20 20 70 72 69 6E 74 20 72 61 77        print raw
00011CA0 20 65 6E 74 72 79 20 6E 61 6D 65 73 20 28 64 6F  entry names (do
00011CB0 6E 27 74 20 74 72 65 61 74 20 65 2E 67 2E 20 63 n't treat e.g. c
00011CC0 6F 6E 74 72 6F 6C 0A 20 20 20 20 20 20 20 20 20 ontrol.         
00011CD0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011CE0 20 20 20 20 20 20 63 68 61 72 61 63 74 65 72 73       characters
00011CF0 20 73 70 65 63 69 61 6C 6C 79 29 0A 20 20 2D 6F  specially).  -o
00011D00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011D10 20 20 20 20 20 20 20 20 20 6C 69 6B 65 20 2D 6C          like -l
00011D20 2C 20 62 75 74 20 64 6F 20 6E 6F 74 20 6C 69 73 , but do not lis
00011D30 74 20 67 72 6F 75 70 20 69 6E 66 6F 72 6D 61 74 t group informat
00011D40 69 6F 6E 0A 20 20 2D 70 2C 20 2D 2D 69 6E 64 69 ion.  -p, --indi
00011D50 63 61 74 6F 72 2D 73 74 79 6C 65 3D 73 6C 61 73 cator-style=slas
00011D60 68 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 h.              
00011D70 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61                a
00011D80 70 70 65 6E 64 20 2F 20 69 6E 64 69 63 61 74 6F ppend / indicato
00011D90 72 20 74 6F 20 64 69 72 65 63 74 6F 72 69 65 73 r to directories
00011DA0 0A 00 00 00 20 20 2D 71 2C 20 2D 2D 68 69 64 65 ....  -q, --hide
00011DB0 2D 63 6F 6E 74 72 6F 6C 2D 63 68 61 72 73 20 20 -control-chars  
00011DC0 20 70 72 69 6E 74 20 3F 20 69 6E 73 74 65 61 64  print ? instead
00011DD0 20 6F 66 20 6E 6F 6E 20 67 72 61 70 68 69 63 20  of non graphic 
00011DE0 63 68 61 72 61 63 74 65 72 73 0A 20 20 20 20 20 characters.     
00011DF0 20 2D 2D 73 68 6F 77 2D 63 6F 6E 74 72 6F 6C 2D  --show-control-
00011E00 63 68 61 72 73 20 20 20 73 68 6F 77 20 6E 6F 6E chars   show non
00011E10 20 67 72 61 70 68 69 63 20 63 68 61 72 61 63 74  graphic charact
00011E20 65 72 73 20 61 73 2D 69 73 20 28 64 65 66 61 75 ers as-is (defau
00011E30 6C 74 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 lt.             
00011E40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011E50 75 6E 6C 65 73 73 20 70 72 6F 67 72 61 6D 20 69 unless program i
00011E60 73 20 60 6C 73 27 20 61 6E 64 20 6F 75 74 70 75 s `ls' and outpu
00011E70 74 20 69 73 20 61 20 74 65 72 6D 69 6E 61 6C 29 t is a terminal)
00011E80 0A 20 20 2D 51 2C 20 2D 2D 71 75 6F 74 65 2D 6E .  -Q, --quote-n
00011E90 61 6D 65 20 20 20 20 20 20 20 20 20 20 20 65 6E ame           en
00011EA0 63 6C 6F 73 65 20 65 6E 74 72 79 20 6E 61 6D 65 close entry name
00011EB0 73 20 69 6E 20 64 6F 75 62 6C 65 20 71 75 6F 74 s in double quot
00011EC0 65 73 0A 20 20 20 20 20 20 2D 2D 71 75 6F 74 69 es.      --quoti
00011ED0 6E 67 2D 73 74 79 6C 65 3D 57 4F 52 44 20 20 20 ng-style=WORD   
00011EE0 75 73 65 20 71 75 6F 74 69 6E 67 20 73 74 79 6C use quoting styl
00011EF0 65 20 57 4F 52 44 20 66 6F 72 20 65 6E 74 72 79 e WORD for entry
00011F00 20 6E 61 6D 65 73 3A 0A 20 20 20 20 20 20 20 20  names:.        
00011F10 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00011F20 20 20 20 20 20 20 20 6C 69 74 65 72 61 6C 2C 20        literal, 
00011F30 6C 6F 63 61 6C 65 2C 20 73 68 65 6C 6C 2C 20 73 locale, shell, s
00011F40 68 65 6C 6C 2D 61 6C 77 61 79 73 2C 20 63 2C 20 hell-always, c, 
00011F50 65 73 63 61 70 65 0A 00 20 20 2D 72 2C 20 2D 2D escape..  -r, --
00011F60 72 65 76 65 72 73 65 20 20 20 20 20 20 20 20 20 reverse         
00011F70 20 20 20 20 20 72 65 76 65 72 73 65 20 6F 72 64      reverse ord
00011F80 65 72 20 77 68 69 6C 65 20 73 6F 72 74 69 6E 67 er while sorting
00011F90 0A 20 20 2D 52 2C 20 2D 2D 72 65 63 75 72 73 69 .  -R, --recursi
00011FA0 76 65 20 20 20 20 20 20 20 20 20 20 20 20 6C 69 ve            li
00011FB0 73 74 20 73 75 62 64 69 72 65 63 74 6F 72 69 65 st subdirectorie
00011FC0 73 20 72 65 63 75 72 73 69 76 65 6C 79 0A 20 20 s recursively.  
00011FD0 2D 73 2C 20 2D 2D 73 69 7A 65 20 20 20 20 20 20 -s, --size      
00011FE0 20 20 20 20 20 20 20 20 20 20 20 70 72 69 6E 74            print
00011FF0 20 74 68 65 20 61 6C 6C 6F 63 61 74 65 64 20 73  the allocated s
00012000 69 7A 65 20 6F 66 20 65 61 63 68 20 66 69 6C 65 ize of each file
00012010 2C 20 69 6E 20 62 6C 6F 63 6B 73 0A 00 00 00 00 , in blocks.....
00012020 20 20 2D 53 20 20 20 20 20 20 20 20 20 20 20 20   -S            
00012030 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6F 72              sor
00012040 74 20 62 79 20 66 69 6C 65 20 73 69 7A 65 0A 20 t by file size. 
00012050 20 20 20 20 20 2D 2D 73 6F 72 74 3D 57 4F 52 44      --sort=WORD
00012060 20 20 20 20 20 20 20 20 20 20 20 20 73 6F 72 74             sort
00012070 20 62 79 20 57 4F 52 44 20 69 6E 73 74 65 61 64  by WORD instead
00012080 20 6F 66 20 6E 61 6D 65 3A 20 6E 6F 6E 65 20 2D  of name: none -
00012090 55 2C 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 U,.             
000120A0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000120B0 65 78 74 65 6E 73 69 6F 6E 20 2D 58 2C 20 73 69 extension -X, si
000120C0 7A 65 20 2D 53 2C 20 74 69 6D 65 20 2D 74 2C 20 ze -S, time -t, 
000120D0 76 65 72 73 69 6F 6E 20 2D 76 0A 20 20 20 20 20 version -v.     
000120E0 20 2D 2D 74 69 6D 65 3D 57 4F 52 44 20 20 20 20  --time=WORD    
000120F0 20 20 20 20 20 20 20 20 77 69 74 68 20 2D 6C 2C         with -l,
00012100 20 73 68 6F 77 20 74 69 6D 65 20 61 73 20 57 4F  show time as WO
00012110 52 44 20 69 6E 73 74 65 61 64 20 6F 66 20 6D 6F RD instead of mo
00012120 64 69 66 69 63 61 74 69 6F 6E 0A 20 20 20 20 20 dification.     
00012130 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012140 20 20 20 20 20 20 20 20 74 69 6D 65 3A 20 61 74         time: at
00012150 69 6D 65 20 2D 75 2C 20 61 63 63 65 73 73 20 2D ime -u, access -
00012160 75 2C 20 75 73 65 20 2D 75 2C 20 63 74 69 6D 65 u, use -u, ctime
00012170 20 2D 63 2C 0A 20 20 20 20 20 20 20 20 20 20 20  -c,.           
00012180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012190 20 20 6F 72 20 73 74 61 74 75 73 20 2D 63 3B 20   or status -c; 
000121A0 75 73 65 20 73 70 65 63 69 66 69 65 64 20 74 69 use specified ti
000121B0 6D 65 20 61 73 20 73 6F 72 74 20 6B 65 79 0A 20 me as sort key. 
000121C0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000121D0 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 2D             if -
000121E0 2D 73 6F 72 74 3D 74 69 6D 65 0A 00 20 20 20 20 -sort=time..    
000121F0 20 20 2D 2D 74 69 6D 65 2D 73 74 79 6C 65 3D 53   --time-style=S
00012200 54 59 4C 45 20 20 20 20 20 77 69 74 68 20 2D 6C TYLE     with -l
00012210 2C 20 73 68 6F 77 20 74 69 6D 65 73 20 75 73 69 , show times usi
00012220 6E 67 20 73 74 79 6C 65 20 53 54 59 4C 45 3A 0A ng style STYLE:.
00012230 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012240 20 20 20 20 20 20 20 20 20 20 20 20 20 66 75 6C              ful
00012250 6C 2D 69 73 6F 2C 20 6C 6F 6E 67 2D 69 73 6F 2C l-iso, long-iso,
00012260 20 69 73 6F 2C 20 6C 6F 63 61 6C 65 2C 20 2B 46  iso, locale, +F
00012270 4F 52 4D 41 54 2E 0A 20 20 20 20 20 20 20 20 20 ORMAT..         
00012280 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012290 20 20 20 20 46 4F 52 4D 41 54 20 69 73 20 69 6E     FORMAT is in
000122A0 74 65 72 70 72 65 74 65 64 20 6C 69 6B 65 20 60 terpreted like `
000122B0 64 61 74 65 27 3B 20 69 66 20 46 4F 52 4D 41 54 date'; if FORMAT
000122C0 20 69 73 0A 20 20 20 20 20 20 20 20 20 20 20 20  is.            
000122D0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000122E0 20 46 4F 52 4D 41 54 31 3C 6E 65 77 6C 69 6E 65  FORMAT1<newline
000122F0 3E 46 4F 52 4D 41 54 32 2C 20 46 4F 52 4D 41 54 >FORMAT2, FORMAT
00012300 31 20 61 70 70 6C 69 65 73 20 74 6F 0A 20 20 20 1 applies to.   
00012310 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012320 20 20 20 20 20 20 20 20 20 20 6E 6F 6E 2D 72 65           non-re
00012330 63 65 6E 74 20 66 69 6C 65 73 20 61 6E 64 20 46 cent files and F
00012340 4F 52 4D 41 54 32 20 74 6F 20 72 65 63 65 6E 74 ORMAT2 to recent
00012350 20 66 69 6C 65 73 3B 0A 20 20 20 20 20 20 20 20  files;.        
00012360 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012370 20 20 20 20 20 69 66 20 53 54 59 4C 45 20 69 73      if STYLE is
00012380 20 70 72 65 66 69 78 65 64 20 77 69 74 68 20 60  prefixed with `
00012390 70 6F 73 69 78 2D 27 2C 20 53 54 59 4C 45 0A 20 posix-', STYLE. 
000123A0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000123B0 20 20 20 20 20 20 20 20 20 20 20 20 74 61 6B 65             take
000123C0 73 20 65 66 66 65 63 74 20 6F 6E 6C 79 20 6F 75 s effect only ou
000123D0 74 73 69 64 65 20 74 68 65 20 50 4F 53 49 58 20 tside the POSIX 
000123E0 6C 6F 63 61 6C 65 0A 00 20 20 2D 74 20 20 20 20 locale..  -t    
000123F0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012400 20 20 20 20 20 73 6F 72 74 20 62 79 20 6D 6F 64      sort by mod
00012410 69 66 69 63 61 74 69 6F 6E 20 74 69 6D 65 0A 20 ification time. 
00012420 20 2D 54 2C 20 2D 2D 74 61 62 73 69 7A 65 3D 43  -T, --tabsize=C
00012430 4F 4C 53 20 20 20 20 20 20 20 20 20 61 73 73 75 OLS         assu
00012440 6D 65 20 74 61 62 20 73 74 6F 70 73 20 61 74 20 me tab stops at 
00012450 65 61 63 68 20 43 4F 4C 53 20 69 6E 73 74 65 61 each COLS instea
00012460 64 20 6F 66 20 38 0A 00 20 20 2D 75 20 20 20 20 d of 8..  -u    
00012470 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012480 20 20 20 20 20 77 69 74 68 20 2D 6C 74 3A 20 73      with -lt: s
00012490 6F 72 74 20 62 79 2C 20 61 6E 64 20 73 68 6F 77 ort by, and show
000124A0 2C 20 61 63 63 65 73 73 20 74 69 6D 65 0A 20 20 , access time.  
000124B0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000124C0 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 74              wit
000124D0 68 20 2D 6C 3A 20 73 68 6F 77 20 61 63 63 65 73 h -l: show acces
000124E0 73 20 74 69 6D 65 20 61 6E 64 20 73 6F 72 74 20 s time and sort 
000124F0 62 79 20 6E 61 6D 65 0A 20 20 20 20 20 20 20 20 by name.        
00012500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012510 20 20 20 20 20 20 20 6F 74 68 65 72 77 69 73 65        otherwise
00012520 3A 20 73 6F 72 74 20 62 79 20 61 63 63 65 73 73 : sort by access
00012530 20 74 69 6D 65 0A 20 20 2D 55 20 20 20 20 20 20  time.  -U      
00012540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012550 20 20 20 64 6F 20 6E 6F 74 20 73 6F 72 74 3B 20    do not sort; 
00012560 6C 69 73 74 20 65 6E 74 72 69 65 73 20 69 6E 20 list entries in 
00012570 64 69 72 65 63 74 6F 72 79 20 6F 72 64 65 72 0A directory order.
00012580 20 20 2D 76 20 20 20 20 20 20 20 20 20 20 20 20   -v            
00012590 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6F 72              sor
000125A0 74 20 62 79 20 76 65 72 73 69 6F 6E 0A 00 00 00 t by version....
000125B0 20 20 2D 77 2C 20 2D 2D 77 69 64 74 68 3D 43 4F   -w, --width=CO
000125C0 4C 53 20 20 20 20 20 20 20 20 20 20 20 61 73 73 LS           ass
000125D0 75 6D 65 20 73 63 72 65 65 6E 20 77 69 64 74 68 ume screen width
000125E0 20 69 6E 73 74 65 61 64 20 6F 66 20 63 75 72 72  instead of curr
000125F0 65 6E 74 20 76 61 6C 75 65 0A 20 20 2D 78 20 20 ent value.  -x  
00012600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012610 20 20 20 20 20 20 20 6C 69 73 74 20 65 6E 74 72        list entr
00012620 69 65 73 20 62 79 20 6C 69 6E 65 73 20 69 6E 73 ies by lines ins
00012630 74 65 61 64 20 6F 66 20 62 79 20 63 6F 6C 75 6D tead of by colum
00012640 6E 73 0A 20 20 2D 58 20 20 20 20 20 20 20 20 20 ns.  -X         
00012650 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
00012660 73 6F 72 74 20 61 6C 70 68 61 62 65 74 69 63 61 sort alphabetica
00012670 6C 6C 79 20 62 79 20 65 6E 74 72 79 20 65 78 74 lly by entry ext
00012680 65 6E 73 69 6F 6E 0A 20 20 2D 5A 2C 20 2D 2D 63 ension.  -Z, --c
00012690 6F 6E 74 65 78 74 20 20 20 20 20 20 20 20 20 20 ontext          
000126A0 20 20 20 20 70 72 69 6E 74 20 61 6E 79 20 53 45     print any SE
000126B0 4C 69 6E 75 78 20 73 65 63 75 72 69 74 79 20 63 Linux security c
000126C0 6F 6E 74 65 78 74 20 6F 66 20 65 61 63 68 20 66 ontext of each f
000126D0 69 6C 65 0A 20 20 2D 31 20 20 20 20 20 20 20 20 ile.  -1        
000126E0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
000126F0 20 6C 69 73 74 20 6F 6E 65 20 66 69 6C 65 20 70  list one file p
00012700 65 72 20 6C 69 6E 65 0A 00 00 00 00 20 20 20 20 er line.....    
00012710 20 20 2D 2D 68 65 6C 70 20 20 20 20 20 64 69 73   --help     dis
00012720 70 6C 61 79 20 74 68 69 73 20 68 65 6C 70 20 61 play this help a
00012730 6E 64 20 65 78 69 74 0A 00 00 00 00 20 20 20 20 nd exit.....    
00012740 20 20 2D 2D 76 65 72 73 69 6F 6E 20 20 6F 75 74   --version  out
00012750 70 75 74 20 76 65 72 73 69 6F 6E 20 69 6E 66 6F put version info
00012760 72 6D 61 74 69 6F 6E 20 61 6E 64 20 65 78 69 74 rmation and exit
00012770 0A 00 00 00 0A 53 49 5A 45 20 6D 61 79 20 62 65 .....SIZE may be
00012780 20 28 6F 72 20 6D 61 79 20 62 65 20 61 6E 20 69  (or may be an i
00012790 6E 74 65 67 65 72 20 6F 70 74 69 6F 6E 61 6C 6C nteger optionall
000127A0 79 20 66 6F 6C 6C 6F 77 65 64 20 62 79 29 20 6F y followed by) o
000127B0 6E 65 20 6F 66 20 66 6F 6C 6C 6F 77 69 6E 67 3A ne of following:
000127C0 0A 6B 42 20 31 30 30 30 2C 20 4B 20 31 30 32 34 .kB 1000, K 1024
000127D0 2C 20 4D 42 20 31 30 30 30 2A 31 30 30 30 2C 20 , MB 1000*1000, 
000127E0 4D 20 31 30 32 34 2A 31 30 32 34 2C 20 61 6E 64 M 1024*1024, and
000127F0 20 73 6F 20 6F 6E 20 66 6F 72 20 47 2C 20 54 2C  so on for G, T,
00012800 20 50 2C 20 45 2C 20 5A 2C 20 59 2E 0A 00 00 00  P, E, Z, Y.....
00012810 0A 42 79 20 64 65 66 61 75 6C 74 2C 20 63 6F 6C .By default, col
00012820 6F 72 20 69 73 20 6E 6F 74 20 75 73 65 64 20 74 or is not used t
00012830 6F 20 64 69 73 74 69 6E 67 75 69 73 68 20 74 79 o distinguish ty
00012840 70 65 73 20 6F 66 20 66 69 6C 65 73 2E 20 20 54 pes of files.  T
00012850 68 61 74 20 69 73 0A 65 71 75 69 76 61 6C 65 6E hat is.equivalen
00012860 74 20 74 6F 20 75 73 69 6E 67 20 2D 2D 63 6F 6C t to using --col
00012870 6F 72 3D 6E 6F 6E 65 2E 20 20 55 73 69 6E 67 20 or=none.  Using 
00012880 74 68 65 20 2D 2D 63 6F 6C 6F 72 20 6F 70 74 69 the --color opti
00012890 6F 6E 20 77 69 74 68 6F 75 74 20 74 68 65 0A 6F on without the.o
000128A0 70 74 69 6F 6E 61 6C 20 57 48 45 4E 20 61 72 67 ptional WHEN arg
000128B0 75 6D 65 6E 74 20 69 73 20 65 71 75 69 76 61 6C ument is equival
000128C0 65 6E 74 20 74 6F 20 75 73 69 6E 67 20 2D 2D 63 ent to using --c
000128D0 6F 6C 6F 72 3D 61 6C 77 61 79 73 2E 20 20 57 69 olor=always.  Wi
000128E0 74 68 0A 2D 2D 63 6F 6C 6F 72 3D 61 75 74 6F 2C th.--color=auto,
000128F0 20 63 6F 6C 6F 72 20 63 6F 64 65 73 20 61 72 65  color codes are
00012900 20 6F 75 74 70 75 74 20 6F 6E 6C 79 20 69 66 20  output only if 
00012910 73 74 61 6E 64 61 72 64 20 6F 75 74 70 75 74 20 standard output 
00012920 69 73 20 63 6F 6E 6E 65 63 74 65 64 0A 74 6F 20 is connected.to 
00012930 61 20 74 65 72 6D 69 6E 61 6C 20 28 74 74 79 29 a terminal (tty)
00012940 2E 20 20 54 68 65 20 65 6E 76 69 72 6F 6E 6D 65 .  The environme
00012950 6E 74 20 76 61 72 69 61 62 6C 65 20 4C 53 5F 43 nt variable LS_C
00012960 4F 4C 4F 52 53 20 63 61 6E 20 69 6E 66 6C 75 65 OLORS can influe
00012970 6E 63 65 20 74 68 65 0A 63 6F 6C 6F 72 73 2C 20 nce the.colors, 
00012980 61 6E 64 20 63 61 6E 20 62 65 20 73 65 74 20 65 and can be set e
00012990 61 73 69 6C 79 20 62 79 20 74 68 65 20 64 69 72 asily by the dir
000129A0 63 6F 6C 6F 72 73 20 63 6F 6D 6D 61 6E 64 2E 0A colors command..
000129B0 00 00 00 00 0A 45 78 69 74 20 73 74 61 74 75 73 .....Exit status
000129C0 3A 0A 20 30 20 20 69 66 20 4F 4B 2C 0A 20 31 20 :. 0  if OK,. 1 
000129D0 20 69 66 20 6D 69 6E 6F 72 20 70 72 6F 62 6C 65  if minor proble
000129E0 6D 73 20 28 65 2E 67 2E 2C 20 63 61 6E 6E 6F 74 ms (e.g., cannot
000129F0 20 61 63 63 65 73 73 20 73 75 62 64 69 72 65 63  access subdirec
00012A00 74 6F 72 79 29 2C 0A 20 32 20 20 69 66 20 73 65 tory),. 2  if se
00012A10 72 69 6F 75 73 20 74 72 6F 75 62 6C 65 20 28 65 rious trouble (e
00012A20 2E 67 2E 2C 20 63 61 6E 6E 6F 74 20 61 63 63 65 .g., cannot acce
00012A30 73 73 20 63 6F 6D 6D 61 6E 64 2D 6C 69 6E 65 20 ss command-line 
00012A40 61 72 67 75 6D 65 6E 74 29 2E 0A 00 0A 52 65 70 argument)....Rep
00012A50 6F 72 74 20 25 73 20 62 75 67 73 20 74 6F 20 25 ort %s bugs to %
00012A60 73 0A 00 00 62 75 67 2D 63 6F 72 65 75 74 69 6C s...bug-coreutil
00012A70 73 40 67 6E 75 2E 6F 72 67 00 00 00 25 73 20 68 s@gnu.org...%s h
00012A80 6F 6D 65 20 70 61 67 65 3A 20 3C 68 74 74 70 3A ome page: <http:
00012A90 2F 2F 77 77 77 2E 67 6E 75 2E 6F 72 67 2F 73 6F //www.gnu.org/so
00012AA0 66 74 77 61 72 65 2F 25 73 2F 3E 0A 00 00 00 00 ftware/%s/>.....
00012AB0 47 4E 55 20 63 6F 72 65 75 74 69 6C 73 00 00 00 GNU coreutils...
00012AC0 47 65 6E 65 72 61 6C 20 68 65 6C 70 20 75 73 69 General help usi
00012AD0 6E 67 20 47 4E 55 20 73 6F 66 74 77 61 72 65 3A ng GNU software:
00012AE0 20 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 67 6E 75  <http://www.gnu
00012AF0 2E 6F 72 67 2F 67 65 74 68 65 6C 70 2F 3E 0A 00 .org/gethelp/>..
00012B00 52 65 70 6F 72 74 20 25 73 20 74 72 61 6E 73 6C Report %s transl
00012B10 61 74 69 6F 6E 20 62 75 67 73 20 74 6F 20 3C 68 ation bugs to <h
00012B20 74 74 70 3A 2F 2F 74 72 61 6E 73 6C 61 74 69 6F ttp://translatio
00012B30 6E 70 72 6F 6A 65 63 74 2E 6F 72 67 2F 74 65 61 nproject.org/tea
00012B40 6D 2F 3E 0A 00 00 00 00 20 25 6C 75 00 00 00 00 m/>..... %lu....
00012B50 30 30 00 00 25 2A 6C 75 20 00 00 00 25 6C 75 00 00..%*lu ...%lu.
00012B60 6C 73 2E 63 00 00 00 00 21 20 63 6F 6D 6D 61 6E ls.c....! comman
00012B70 64 5F 6C 69 6E 65 5F 61 72 67 20 7C 7C 20 69 6E d_line_arg || in
00012B80 6F 64 65 20 3D 3D 20 4E 4F 54 5F 41 4E 5F 49 4E ode == NOT_AN_IN
00012B90 4F 44 45 5F 4E 55 4D 42 45 52 00 00 63 61 6E 6E ODE_NUMBER..cann
00012BA0 6F 74 20 61 63 63 65 73 73 20 25 73 00 00 00 00 ot access %s....
00012BB0 63 61 6E 6E 6F 74 20 72 65 61 64 20 73 79 6D 62 cannot read symb
00012BC0 6F 6C 69 63 20 6C 69 6E 6B 20 25 73 00 00 00 00 olic link %s....
00012BD0 3F 00 00 00 73 6F 72 74 5F 74 79 70 65 20 21 3D ?...sort_type !=
00012BE0 20 73 6F 72 74 5F 76 65 72 73 69 6F 6E 00 00 00  sort_version...
00012BF0 25 2A 73 20 00 00 00 00 25 73 20 25 2A 73 20 00 %*s ....%s %*s .
00012C00 20 20 00 00 25 2A 73 2C 20 25 2A 73 20 00 00 00   ..%*s, %*s ...
00012C10 20 2D 3E 20 00 00 00 00 63 61 6E 6E 6F 74 20 6F  -> ....cannot o
00012C20 70 65 6E 20 64 69 72 65 63 74 6F 72 79 20 25 73 pen directory %s
00012C30 00 00 00 00 63 61 6E 6E 6F 74 20 64 65 74 65 72 ....cannot deter
00012C40 6D 69 6E 65 20 64 65 76 69 63 65 20 61 6E 64 20 mine device and 
00012C50 69 6E 6F 64 65 20 6F 66 20 25 73 00 25 73 3A 20 inode of %s.%s: 
00012C60 6E 6F 74 20 6C 69 73 74 69 6E 67 20 61 6C 72 65 not listing alre
00012C70 61 64 79 2D 6C 69 73 74 65 64 20 64 69 72 65 63 ady-listed direc
00012C80 74 6F 72 79 00 00 00 00 72 65 61 64 69 6E 67 20 tory....reading 
00012C90 64 69 72 65 63 74 6F 72 79 20 25 73 00 00 00 00 directory %s....
00012CA0 63 6C 6F 73 69 6E 67 20 64 69 72 65 63 74 6F 72 closing director
00012CB0 79 20 25 73 00 00 00 00 3A 0A 00 00 74 6F 74 61 y %s....:...tota
00012CC0 6C 00 00 00 51 55 4F 54 49 4E 47 5F 53 54 59 4C l...QUOTING_STYL
00012CD0 45 00 00 00 69 67 6E 6F 72 69 6E 67 20 69 6E 76 E...ignoring inv
00012CE0 61 6C 69 64 20 76 61 6C 75 65 20 6F 66 20 65 6E alid value of en
00012CF0 76 69 72 6F 6E 6D 65 6E 74 20 76 61 72 69 61 62 vironment variab
00012D00 6C 65 20 51 55 4F 54 49 4E 47 5F 53 54 59 4C 45 le QUOTING_STYLE
00012D10 3A 20 25 73 00 00 00 00 4C 53 5F 42 4C 4F 43 4B : %s....LS_BLOCK
00012D20 5F 53 49 5A 45 00 00 00 42 4C 4F 43 4B 5F 53 49 _SIZE...BLOCK_SI
00012D30 5A 45 00 00 43 4F 4C 55 4D 4E 53 00 69 67 6E 6F ZE..COLUMNS.igno
00012D40 72 69 6E 67 20 69 6E 76 61 6C 69 64 20 77 69 64 ring invalid wid
00012D50 74 68 20 69 6E 20 65 6E 76 69 72 6F 6E 6D 65 6E th in environmen
00012D60 74 20 76 61 72 69 61 62 6C 65 20 43 4F 4C 55 4D t variable COLUM
00012D70 4E 53 3A 20 25 73 00 00 54 41 42 53 49 5A 45 00 NS: %s..TABSIZE.
00012D80 69 67 6E 6F 72 69 6E 67 20 69 6E 76 61 6C 69 64 ignoring invalid
00012D90 20 74 61 62 20 73 69 7A 65 20 69 6E 20 65 6E 76  tab size in env
00012DA0 69 72 6F 6E 6D 65 6E 74 20 76 61 72 69 61 62 6C ironment variabl
00012DB0 65 20 54 41 42 53 49 5A 45 3A 20 25 73 00 00 00 e TABSIZE: %s...
00012DC0 61 62 63 64 66 67 68 69 6B 6C 6D 6E 6F 70 71 72 abcdfghiklmnopqr
00012DD0 73 74 75 76 77 3A 78 41 42 43 44 46 47 48 49 3A stuvw:xABCDFGHI:
00012DE0 4C 4E 51 52 53 54 3A 55 58 5A 31 00 69 6E 76 61 LNQRST:UXZ1.inva
00012DF0 6C 69 64 20 6C 69 6E 65 20 77 69 64 74 68 3A 20 lid line width: 
00012E00 25 73 00 00 2A 7E 00 00 2E 2A 7E 00 69 6E 76 61 %s..*~...*~.inva
00012E10 6C 69 64 20 74 61 62 20 73 69 7A 65 3A 20 25 73 lid tab size: %s
00012E20 00 00 00 00 2D 2D 73 6F 72 74 00 00 2D 2D 74 69 ....--sort..--ti
00012E30 6D 65 00 00 2D 2D 66 6F 72 6D 61 74 00 00 00 00 me..--format....
00012E40 66 75 6C 6C 2D 69 73 6F 00 00 00 00 2D 2D 63 6F full-iso....--co
00012E50 6C 6F 72 00 2D 2D 69 6E 64 69 63 61 74 6F 72 2D lor.--indicator-
00012E60 73 74 79 6C 65 00 00 00 2D 2D 71 75 6F 74 69 6E style...--quotin
00012E70 67 2D 73 74 79 6C 65 00 6C 73 00 00 76 64 69 72 g-style.ls..vdir
00012E80 00 00 00 00 44 61 76 69 64 20 4D 61 63 4B 65 6E ....David MacKen
00012E90 7A 69 65 00 52 69 63 68 61 72 64 20 4D 2E 20 53 zie.Richard M. S
00012EA0 74 61 6C 6C 6D 61 6E 00 2A 3D 3E 40 7C 00 00 00 tallman.*=>@|...
00012EB0 54 49 4D 45 5F 53 54 59 4C 45 00 00 6C 6F 63 61 TIME_STYLE..loca
00012EC0 6C 65 00 00 69 6E 76 61 6C 69 64 20 74 69 6D 65 le..invalid time
00012ED0 20 73 74 79 6C 65 20 66 6F 72 6D 61 74 20 25 73  style format %s
00012EE0 00 00 00 00 74 69 6D 65 20 73 74 79 6C 65 00 00 ....time style..
00012EF0 25 59 2D 25 6D 2D 25 64 20 25 48 3A 25 4D 3A 25 %Y-%m-%d %H:%M:%
00012F00 53 2E 25 4E 20 25 7A 00 25 59 2D 25 6D 2D 25 64 S.%N %z.%Y-%m-%d
00012F10 20 25 48 3A 25 4D 00 00 25 59 2D 25 6D 2D 25 64  %H:%M..%Y-%m-%d
00012F20 20 00 00 00 25 6D 2D 25 64 20 25 48 3A 25 4D 00  ...%m-%d %H:%M.
00012F30 4C 53 5F 43 4F 4C 4F 52 53 00 00 00 3F 3F 00 00 LS_COLORS...??..
00012F40 75 6E 72 65 63 6F 67 6E 69 7A 65 64 20 70 72 65 unrecognized pre
00012F50 66 69 78 3A 20 25 73 00 75 6E 70 61 72 73 61 62 fix: %s.unparsab
00012F60 6C 65 20 76 61 6C 75 65 20 66 6F 72 20 4C 53 5F le value for LS_
00012F70 43 4F 4C 4F 52 53 20 65 6E 76 69 72 6F 6E 6D 65 COLORS environme
00012F80 6E 74 20 76 61 72 69 61 62 6C 65 00 74 61 72 67 nt variable.targ
00012F90 65 74 00 00 2E 00 00 00 73 69 7A 65 6F 66 20 28 et......sizeof (
00012FA0 73 74 72 75 63 74 20 64 65 76 5F 69 6E 6F 29 20 struct dev_ino) 
00012FB0 3C 3D 20 5F 5F 65 78 74 65 6E 73 69 6F 6E 5F 5F <= __extension__
00012FC0 20 28 7B 20 73 74 72 75 63 74 20 6F 62 73 74 61  ({ struct obsta
00012FD0 63 6B 20 63 6F 6E 73 74 20 2A 5F 5F 6F 20 3D 20 ck const *__o = 
00012FE0 28 26 64 65 76 5F 69 6E 6F 5F 6F 62 73 74 61 63 (&dev_ino_obstac
00012FF0 6B 29 3B 20 28 75 6E 73 69 67 6E 65 64 29 20 28 k); (unsigned) (
00013000 5F 5F 6F 2D 3E 6E 65 78 74 5F 66 72 65 65 20 2D __o->next_free -
00013010 20 5F 5F 6F 2D 3E 6F 62 6A 65 63 74 5F 62 61 73  __o->object_bas
00013020 65 29 3B 20 7D 29 00 00 66 6F 75 6E 64 00 00 00 e); })..found...
00013030 2F 2F 44 49 52 45 44 2F 2F 00 00 00 2F 2F 53 55 //DIRED//...//SU
00013040 42 44 49 52 45 44 2F 2F 00 00 00 00 2F 2F 44 49 BDIRED//....//DI
00013050 52 45 44 2D 4F 50 54 49 4F 4E 53 2F 2F 20 2D 2D RED-OPTIONS// --
00013060 71 75 6F 74 69 6E 67 2D 73 74 79 6C 65 3D 25 73 quoting-style=%s
00013070 0A 00 00 00 68 61 73 68 5F 67 65 74 5F 6E 5F 65 ....hash_get_n_e
00013080 6E 74 72 69 65 73 20 28 61 63 74 69 76 65 5F 64 ntries (active_d
00013090 69 72 5F 73 65 74 29 20 3D 3D 20 30 00 00 00 00 ir_set) == 0....
000130A0 61 6C 6C 00 65 73 63 61 70 65 00 00 64 69 72 65 all.escape..dire
000130B0 63 74 6F 72 79 00 00 00 64 69 72 65 64 00 00 00 ctory...dired...
000130C0 66 75 6C 6C 2D 74 69 6D 65 00 00 00 67 72 6F 75 full-time...grou
000130D0 70 2D 64 69 72 65 63 74 6F 72 69 65 73 2D 66 69 p-directories-fi
000130E0 72 73 74 00 68 75 6D 61 6E 2D 72 65 61 64 61 62 rst.human-readab
000130F0 6C 65 00 00 69 6E 6F 64 65 00 00 00 6E 75 6D 65 le..inode...nume
00013100 72 69 63 2D 75 69 64 2D 67 69 64 00 6E 6F 2D 67 ric-uid-gid.no-g
00013110 72 6F 75 70 00 00 00 00 68 69 64 65 2D 63 6F 6E roup....hide-con
00013120 74 72 6F 6C 2D 63 68 61 72 73 00 00 72 65 76 65 trol-chars..reve
00013130 72 73 65 00 73 69 7A 65 00 00 00 00 77 69 64 74 rse.size....widt
00013140 68 00 00 00 61 6C 6D 6F 73 74 2D 61 6C 6C 00 00 h...almost-all..
00013150 69 67 6E 6F 72 65 2D 62 61 63 6B 75 70 73 00 00 ignore-backups..
00013160 63 6C 61 73 73 69 66 79 00 00 00 00 66 69 6C 65 classify....file
00013170 2D 74 79 70 65 00 00 00 73 69 00 00 64 65 72 65 -type...si..dere
00013180 66 65 72 65 6E 63 65 2D 63 6F 6D 6D 61 6E 64 2D ference-command-
00013190 6C 69 6E 65 00 00 00 00 64 65 72 65 66 65 72 65 line....derefere
000131A0 6E 63 65 2D 63 6F 6D 6D 61 6E 64 2D 6C 69 6E 65 nce-command-line
000131B0 2D 73 79 6D 6C 69 6E 6B 2D 74 6F 2D 64 69 72 00 -symlink-to-dir.
000131C0 68 69 64 65 00 00 00 00 69 67 6E 6F 72 65 00 00 hide....ignore..
000131D0 69 6E 64 69 63 61 74 6F 72 2D 73 74 79 6C 65 00 indicator-style.
000131E0 64 65 72 65 66 65 72 65 6E 63 65 00 6C 69 74 65 dereference.lite
000131F0 72 61 6C 00 71 75 6F 74 65 2D 6E 61 6D 65 00 00 ral.quote-name..
00013200 71 75 6F 74 69 6E 67 2D 73 74 79 6C 65 00 00 00 quoting-style...
00013210 72 65 63 75 72 73 69 76 65 00 00 00 66 6F 72 6D recursive...form
00013220 61 74 00 00 73 68 6F 77 2D 63 6F 6E 74 72 6F 6C at..show-control
00013230 2D 63 68 61 72 73 00 00 73 6F 72 74 00 00 00 00 -chars..sort....
00013240 74 61 62 73 69 7A 65 00 74 69 6D 65 00 00 00 00 tabsize.time....
00013250 74 69 6D 65 2D 73 74 79 6C 65 00 00 63 6F 6C 6F time-style..colo
00013260 72 00 00 00 62 6C 6F 63 6B 2D 73 69 7A 65 00 00 r...block-size..
00013270 63 6F 6E 74 65 78 74 00 61 75 74 68 6F 72 00 00 context.author..
00013280 68 65 6C 70 00 00 00 00 76 65 72 73 69 6F 6E 00 help....version.
00013290 6E 6F 6E 65 00 00 00 00 65 78 74 65 6E 73 69 6F none....extensio
000132A0 6E 00 00 00 61 74 69 6D 65 00 00 00 61 63 63 65 n...atime...acce
000132B0 73 73 00 00 75 73 65 00 63 74 69 6D 65 00 00 00 ss..use.ctime...
000132C0 73 74 61 74 75 73 00 00 76 65 72 62 6F 73 65 00 status..verbose.
000132D0 6C 6F 6E 67 00 00 00 00 63 6F 6D 6D 61 73 00 00 long....commas..
000132E0 68 6F 72 69 7A 6F 6E 74 61 6C 00 00 61 63 72 6F horizontal..acro
000132F0 73 73 00 00 76 65 72 74 69 63 61 6C 00 00 00 00 ss..vertical....
00013300 73 69 6E 67 6C 65 2D 63 6F 6C 75 6D 6E 00 00 00 single-column...
00013310 61 6C 77 61 79 73 00 00 79 65 73 00 66 6F 72 63 always..yes.forc
00013320 65 00 00 00 6E 65 76 65 72 00 00 00 6E 6F 00 00 e...never...no..
00013330 61 75 74 6F 00 00 00 00 74 74 79 00 69 66 2D 74 auto....tty.if-t
00013340 74 79 00 00 73 6C 61 73 68 00 00 00 25 62 20 25 ty..slash...%b %
00013350 65 20 20 25 59 00 00 00 25 62 20 25 65 20 25 48 e  %Y...%b %e %H
00013360 3A 25 4D 00 6C 6F 6E 67 2D 69 73 6F 00 00 00 00 :%M.long-iso....
00013370 69 73 6F 00 6C 63 00 00 72 63 00 00 65 63 00 00 iso.lc..rc..ec..
00013380 66 69 00 00 64 69 00 00 6C 6E 00 00 70 69 00 00 fi..di..ln..pi..
00013390 73 6F 00 00 62 64 00 00 63 64 00 00 6D 69 00 00 so..bd..cd..mi..
000133A0 65 78 00 00 64 6F 00 00 73 75 00 00 73 67 00 00 ex..do..su..sg..
000133B0 73 74 00 00 6F 77 00 00 74 77 00 00 63 61 00 00 st..ow..tw..ca..
000133C0 68 6C 00 00 63 6C 00 00 1B 5B 00 00 6D 00 00 00 hl..cl...[..m...
000133D0 30 31 3B 33 34 00 00 00 30 31 3B 33 36 00 00 00 01;34...01;36...
000133E0 33 33 00 00 30 31 3B 33 35 00 00 00 30 31 3B 33 33..01;35...01;3
000133F0 33 00 00 00 30 31 3B 33 32 00 00 00 33 37 3B 34 3...01;32...37;4
00013400 31 00 00 00 33 30 3B 34 33 00 00 00 33 37 3B 34 1...30;43...37;4
00013410 34 00 00 00 33 34 3B 34 32 00 00 00 33 30 3B 34 4...34;42...30;4
00013420 32 00 00 00 33 30 3B 34 31 00 00 00 34 34 3B 33 2...30;41...44;3
00013430 37 00 00 00 1B 5B 4B 00 37 2E 32 00 2F 2E 6C 69 7....[K.7.2./.li
00013440 62 73 2F 00 6C 74 2D 00 0A 52 65 70 6F 72 74 20 bs/.lt-..Report 
00013450 62 75 67 73 20 74 6F 20 3C 25 73 3E 2E 0A 00 00 bugs to <%s>....
00013460 25 73 20 68 6F 6D 65 20 70 61 67 65 3A 20 3C 68 %s home page: <h
00013470 74 74 70 3A 2F 2F 77 77 77 2E 67 6E 75 2E 6F 72 ttp://www.gnu.or
00013480 67 2F 73 6F 66 74 77 61 72 65 2F 25 73 2F 3E 2E g/software/%s/>.
00013490 0A 00 00 00 47 65 6E 65 72 61 6C 20 68 65 6C 70 ....General help
000134A0 20 75 73 69 6E 67 20 47 4E 55 20 73 6F 66 74 77  using GNU softw
000134B0 61 72 65 3A 20 3C 68 74 74 70 3A 2F 2F 77 77 77 are: <http://www
000134C0 2E 67 6E 75 2E 6F 72 67 2F 67 65 74 68 65 6C 70 .gnu.org/gethelp
000134D0 2F 3E 2E 0A 00 00 00 00 25 73 20 28 25 73 29 20 />......%s (%s) 
000134E0 25 73 0A 00 25 73 20 25 73 0A 00 00 28 43 29 00 %s..%s %s...(C).
000134F0 0A 4C 69 63 65 6E 73 65 20 47 50 4C 76 33 2B 3A .License GPLv3+:
00013500 20 47 4E 55 20 47 50 4C 20 76 65 72 73 69 6F 6E  GNU GPL version
00013510 20 33 20 6F 72 20 6C 61 74 65 72 20 3C 68 74 74  3 or later <htt
00013520 70 3A 2F 2F 67 6E 75 2E 6F 72 67 2F 6C 69 63 65 p://gnu.org/lice
00013530 6E 73 65 73 2F 67 70 6C 2E 68 74 6D 6C 3E 2E 0A nses/gpl.html>..
00013540 54 68 69 73 20 69 73 20 66 72 65 65 20 73 6F 66 This is free sof
00013550 74 77 61 72 65 3A 20 79 6F 75 20 61 72 65 20 66 tware: you are f
00013560 72 65 65 20 74 6F 20 63 68 61 6E 67 65 20 61 6E ree to change an
00013570 64 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 d redistribute i
00013580 74 2E 0A 54 68 65 72 65 20 69 73 20 4E 4F 20 57 t..There is NO W
00013590 41 52 52 41 4E 54 59 2C 20 74 6F 20 74 68 65 20 ARRANTY, to the 
000135A0 65 78 74 65 6E 74 20 70 65 72 6D 69 74 74 65 64 extent permitted
000135B0 20 62 79 20 6C 61 77 2E 0A 0A 00 00 57 72 69 74  by law.....Writ
000135C0 74 65 6E 20 62 79 20 25 73 2E 0A 00 57 72 69 74 ten by %s...Writ
000135D0 74 65 6E 20 62 79 20 25 73 20 61 6E 64 20 25 73 ten by %s and %s
000135E0 2E 0A 00 00 57 72 69 74 74 65 6E 20 62 79 20 25 ....Written by %
000135F0 73 2C 20 25 73 2C 20 61 6E 64 20 25 73 2E 0A 00 s, %s, and %s...
00013600 57 72 69 74 74 65 6E 20 62 79 20 25 73 2C 20 25 Written by %s, %
00013610 73 2C 20 25 73 2C 0A 61 6E 64 20 25 73 2E 0A 00 s, %s,.and %s...
00013620 57 72 69 74 74 65 6E 20 62 79 20 25 73 2C 20 25 Written by %s, %
00013630 73 2C 20 25 73 2C 0A 25 73 2C 20 61 6E 64 20 25 s, %s,.%s, and %
00013640 73 2E 0A 00 57 72 69 74 74 65 6E 20 62 79 20 25 s...Written by %
00013650 73 2C 20 25 73 2C 20 25 73 2C 0A 25 73 2C 20 25 s, %s, %s,.%s, %
00013660 73 2C 20 61 6E 64 20 25 73 2E 0A 00 57 72 69 74 s, and %s...Writ
00013670 74 65 6E 20 62 79 20 25 73 2C 20 25 73 2C 20 25 ten by %s, %s, %
00013680 73 2C 0A 25 73 2C 20 25 73 2C 20 25 73 2C 20 61 s,.%s, %s, %s, a
00013690 6E 64 20 25 73 2E 0A 00 57 72 69 74 74 65 6E 20 nd %s...Written 
000136A0 62 79 20 25 73 2C 20 25 73 2C 20 25 73 2C 0A 25 by %s, %s, %s,.%
000136B0 73 2C 20 25 73 2C 20 25 73 2C 20 25 73 2C 0A 61 s, %s, %s, %s,.a
000136C0 6E 64 20 25 73 2E 0A 00 57 72 69 74 74 65 6E 20 nd %s...Written 
000136D0 62 79 20 25 73 2C 20 25 73 2C 20 25 73 2C 0A 25 by %s, %s, %s,.%
000136E0 73 2C 20 25 73 2C 20 25 73 2C 20 25 73 2C 0A 25 s, %s, %s, %s,.%
000136F0 73 2C 20 61 6E 64 20 25 73 2E 0A 00 57 72 69 74 s, and %s...Writ
00013700 74 65 6E 20 62 79 20 25 73 2C 20 25 73 2C 20 25 ten by %s, %s, %
00013710 73 2C 0A 25 73 2C 20 25 73 2C 20 25 73 2C 20 25 s,.%s, %s, %s, %
00013720 73 2C 0A 25 73 2C 20 25 73 2C 20 61 6E 64 20 6F s,.%s, %s, and o
00013730 74 68 65 72 73 2E 0A 00 6D 65 6D 6F 72 79 20 65 thers...memory e
00013740 78 68 61 75 73 74 65 64 00 00 00 00 56 61 6C 69 xhausted....Vali
00013750 64 20 61 72 67 75 6D 65 6E 74 73 20 61 72 65 3A d arguments are:
00013760 00 00 00 00 0A 20 20 2D 20 60 25 73 27 00 00 00 .....  - `%s'...
00013770 2C 20 60 25 73 27 00 00 69 6E 76 61 6C 69 64 20 , `%s'..invalid 
00013780 61 72 67 75 6D 65 6E 74 20 25 73 20 66 6F 72 20 argument %s for 
00013790 25 73 00 00 61 6D 62 69 67 75 6F 75 73 20 61 72 %s..ambiguous ar
000137A0 67 75 6D 65 6E 74 20 25 73 20 66 6F 72 20 25 73 gument %s for %s
000137B0 00 00 00 00 25 73 3A 20 25 73 00 00 77 72 69 74 ....%s: %s..writ
000137C0 65 20 65 72 72 6F 72 00 50 4F 53 49 58 4C 59 5F e error.POSIXLY_
000137D0 43 4F 52 52 45 43 54 00 66 6E 6D 61 74 63 68 5F CORRECT.fnmatch_
000137E0 6C 6F 6F 70 2E 63 00 00 6C 69 73 74 20 21 3D 20 loop.c..list != 
000137F0 28 28 76 6F 69 64 20 2A 29 30 29 00 70 5B 2D 31 ((void *)0).p[-1
00013800 5D 20 3D 3D 20 4C 27 29 27 00 00 00 21 20 22 49 ] == L')'...! "I
00013810 6E 76 61 6C 69 64 20 65 78 74 65 6E 64 65 64 20 nvalid extended 
00013820 6D 61 74 63 68 69 6E 67 20 6F 70 65 72 61 74 6F matching operato
00013830 72 22 00 00 70 5B 2D 31 5D 20 3D 3D 20 27 29 27 r"..p[-1] == ')'
00013840 00 00 00 00 66 6E 6D 61 74 63 68 2E 63 00 00 00 ....fnmatch.c...
00013850 6D 62 73 69 6E 69 74 20 28 26 70 73 29 00 00 00 mbsinit (&ps)...
00013860 43 00 00 00 50 4F 53 49 58 00 00 00 23 20 65 6E C...POSIX...# en
00013870 74 72 69 65 73 3A 20 20 20 20 20 20 20 20 20 25 tries:         %
00013880 6C 75 0A 00 23 20 62 75 63 6B 65 74 73 3A 20 20 lu..# buckets:  
00013890 20 20 20 20 20 20 20 25 6C 75 0A 00 23 20 62 75        %lu..# bu
000138A0 63 6B 65 74 73 20 75 73 65 64 3A 20 20 20 20 25 ckets used:    %
000138B0 6C 75 20 28 25 2E 32 66 25 25 29 0A 00 00 00 00 lu (%.2f%%).....
000138C0 6D 61 78 20 62 75 63 6B 65 74 20 6C 65 6E 67 74 max bucket lengt
000138D0 68 3A 20 25 6C 75 0A 00 42 4C 4F 43 4B 53 49 5A h: %lu..BLOCKSIZ
000138E0 45 00 00 00 65 45 67 47 6B 4B 6D 4D 70 50 74 54 E...eEgGkKmMpPtT
000138F0 79 59 7A 5A 30 00 00 00 25 2E 30 4C 66 00 00 00 yYzZ0...%.0Lf...
00013900 25 2E 31 4C 66 00 00 00 22 00 00 00 60 00 00 00 %.1Lf..."...`...
00013910 73 68 65 6C 6C 00 00 00 73 68 65 6C 6C 2D 61 6C shell...shell-al
00013920 77 61 79 73 00 00 00 00 63 2D 6D 61 79 62 65 00 ways....c-maybe.
00013930 63 6C 6F 63 61 6C 65 00 25 48 3A 25 4D 00 00 00 clocale.%H:%M...
00013940 25 48 3A 25 4D 3A 25 53 00 00 00 00 25 6D 2F 25 %H:%M:%S....%m/%
00013950 64 2F 25 79 00 00 00 00 25 59 2D 25 6D 2D 25 64 d/%y....%Y-%m-%d
00013960 00 00 00 00 69 6E 76 61 6C 69 64 20 73 75 66 66 ....invalid suff
00013970 69 78 20 69 6E 20 25 73 25 73 20 61 72 67 75 6D ix in %s%s argum
00013980 65 6E 74 20 60 25 73 27 00 00 00 00 25 73 25 73 ent `%s'....%s%s
00013990 20 61 72 67 75 6D 65 6E 74 20 60 25 73 27 20 74  argument `%s' t
000139A0 6F 6F 20 6C 61 72 67 65 00 00 00 00 69 6E 76 61 oo large....inva
000139B0 6C 69 64 20 25 73 25 73 20 61 72 67 75 6D 65 6E lid %s%s argumen
000139C0 74 20 60 25 73 27 00 00 2D 2D 00 00 78 73 74 72 t `%s'..--..xstr
000139D0 74 6F 6C 2E 63 00 00 00 30 20 3C 3D 20 73 74 72 tol.c...0 <= str
000139E0 74 6F 6C 5F 62 61 73 65 20 26 26 20 73 74 72 74 tol_base && strt
000139F0 6F 6C 5F 62 61 73 65 20 3C 3D 20 33 36 00 00 00 ol_base <= 36...
00013A00 43 48 41 52 53 45 54 41 4C 49 41 53 44 49 52 00 CHARSETALIASDIR.
00013A10 2F 75 73 72 2F 6C 69 62 00 00 00 00 63 68 61 72 /usr/lib....char
00013A20 73 65 74 2E 61 6C 69 61 73 00 00 00 25 35 30 73 set.alias...%50s
00013A30 20 25 35 30 73 00 00 00 41 53 43 49 49 00 00 00  %50s...ASCII...
00013A40 45 55 43 2D 4A 50 00 00 47 42 32 33 31 32 00 00 EUC-JP..GB2312..
00013A50 47 42 4B 00 45 55 43 2D 54 57 00 00 42 49 47 35 GBK.EUC-TW..BIG5
00013A60 00 00 00 00 45 55 43 2D 4B 52 00 00 43 50 39 34 ....EUC-KR..CP94
00013A70 39 00 00 00 4A 4F 48 41 42 00 00 00 25 2B 64 00 9...JOHAB...%+d.
00013A80 28 4E 55 4C 4C 29 00 00                         (NULL)..       
